dan-s1 commented on PR #11370:
URL: https://github.com/apache/nifi/pull/11370#issuecomment-4846399556

   @exceptionfactory When writing a unit test, I came across an issue that I 
cannot write in an XML file using the `java.util.Properties` `storeToXML` 
attributes which are not a string (i.e. both key and value need to be strings). 
Furthermore in the `FlowFilePackagerV1` code in method `packageFlowFile` it 
seems it only takes a map of attributes whose keys and values are only strings. 
Hence I question, why there are these checks in `FlowFileUnpackagerV1` in the 
first place? Perhaps we should remove these checks entirely. I do have a unit 
test to test unpackaging in a normal scenario which I can contribute if you 
wish. Please advise.


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