leehaut opened a new pull request, #8289:
URL: https://github.com/apache/hop/pull/8289

   ## Summary
   - Fix a copy-paste bug in JSON Input, JSON Normalize Input, and Get XML Data 
where the optional "Is hidden?" additional field was populated with 
`Boolean.valueOf(path)` instead of the file's `hidden` flag from 
`FileObject.isHidden()`.
   - Because a normal file path is never the string `"true"`, the field was 
almost always `false`, even for hidden files.
   - Align behavior with `LoadFileInput`, which already outputs `data.hidden` 
correctly.
   
   ## Test plan
   - [x] Added `JsonInputTest#testHiddenFileFieldUsesFileIsHiddenFlag` (forces 
`data.hidden=true` while path remains a normal URI).
   - [x] Added `JsonNormalizeInputHiddenFieldTest` with the same regression 
assertion.
   - [x] Added `GetXmlDataHiddenFieldTest` using an OS-hidden file 
(`dos:hidden` / dotfile).
   


-- 
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