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

   ### Apache Hop version?
   
   2.20.0
   
   ### Java version?
   
   Java 21
   
   ### Operating system
   
   macOS
   
   ### What happened?
   
   Reproduced on 2.20.0; the code involved is unchanged on main.
   
   The Surefire report output transform always creates the folder of the report 
file. "Create parent folder" has no effect, although its tooltip says "Create 
the parent folder of the report file if it does not exist". With the option 
off, a report file in a folder that doesn't exist is still written, and the 
missing folders are created.
   
   Steps, with the samples project:
   1. Open `transforms/surefire-report-output.hpl`.
   2. In "surefire report output", set the report file to 
`${PROJECT_HOME}/nofolder/a/b/r.xml`, where `nofolder` doesn't exist, and turn 
"Create parent folder" off.
   3. Run the pipeline.
   
   Result: `nofolder/a/b/r.xml` is written, the log shows `Wrote Surefire 
report with 2 test case(s) to ...` and the transform ends with E=0.
   Expected: the transform fails because the folder doesn't exist, as other 
file outputs do when "Create parent folder" is off.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to