You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "bamaer (via GitHub)" <gi...@apache.org> on 2026/10/07 09:43:15 UTC

[I] [Bug]: Change file encoding does not create the parent folder of the target file (hop)

bamaer opened a new issue, #8779:
URL: https://github.com/apache/hop/issues/8779

   ### Apache Hop version?
   
   2.20.0-SNAPSHOT (main)
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   With "Create parent folder" enabled, Change file encoding fails when the folder of the target file does not exist:
   
   ```
   Error creating target file!
   config/projects/samples/output/change-file-encoding.txt (No such file or directory)
   ```
   
   ### Cause
   
   - `ChangeFileEncoding.processRow` checks and creates the parent folder of the *source* file, which always exists at that point, instead of the parent folder of the target file.
   - `changeEncoding` reads and writes through `FileInputStream` / `FileOutputStream` on the raw filenames, so source and target files on VFS locations do not work either.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Change file encoding does not create the parent folder of the target file (hop)

Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters closed issue #8779: [Bug]: Change file encoding does not create the parent folder of the target file
URL: https://github.com/apache/hop/issues/8779


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org