Skip to content

Create the parent folder of the target file in Change file encoding, fixes #8779 - #8781

Merged
mattcasters merged 1 commit into
apache:mainfrom
bamaer:8779
Oct 9, 2026
Merged

mattcasters merged 1 commit into
apache:mainfrom
bamaer:8779

Conversation

@bamaer

@bamaer bamaer commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #8779. With "Create parent folder" enabled, Change file encoding created the parent folder of the source file instead of the target file, so writing to a new folder failed. Source and target are now read and written through HopVfs, so VFS locations work too.

transforms/main-0120-change-file-encoding writes into a folder that does not exist yet: it fails before this change and passes after it.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@mattcasters
mattcasters merged commit 30dfc53 into apache:main Oct 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Change file encoding does not create the parent folder of the target file

2 participants