mattyb149 commented on PR #8266:
URL: https://github.com/apache/nifi/pull/8266#issuecomment-1904858202

   When running the unit tests with Java 8 (for a `support/nifi-1.x` backport), 
I get an error because the `foo` entry shows up as `null` in the output of 
`testLookupMissingJsonField()`:
   
   `[{"foo":null,"unmentioned":{"foo":"original"}}]`
   
   I checked some commits and everything looks the same, but I'm guessing there 
was some change made to the record-based stuff in `main` that didn't make its 
way back to the 1.x branch. Either way JSON is not guaranteed to have "ordered" 
fields, so we should figure out why the `"foo": null` is in there (if it 
shouldn't be) or check each field for its contents rather than the whole output 
FlowFile.


-- 
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-unsubscr...@nifi.apache.org

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

Reply via email to