arpadboda edited a comment on issue #637: MINIFICPP-1020 - PutFile fails to create empty files URL: https://github.com/apache/nifi-minifi-cpp/pull/637#issuecomment-526504548 > Can you provide an example flow? I created a flow of that pulled empty files via GetFile -> PutFile and it wrote those empty files. Is this the case where the resource claim has an invalid pointer to a file by virtue of GenerateFlowFile? That would be a separate issue in my opinion. I could be wrong but any help in reproducing this per the PR/ticket description would be helpful. > > Happy to provide logs where I did not see a failure or rollback. I connected GenerateFlowFile set to 0B with PutFile. If you check my other PR (the GenerateFlowFile one), and run the tests of that without having this change, you are going to see the issue. I agree that in the background having empty content and having no content might be different scenarios in code point of view, but they should be handled the same way.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services