andrewmlim commented on pull request #319:
URL: https://github.com/apache/nifi-registry/pull/319#issuecomment-825819989


   Testing how the feature does error handling and noticed the following:
   
   When importing new flow, if I select a JSON file that is valid JSON, but not 
a valid flow definition file, after selecting import I get the error message 
"Cannot create versioned flow snapshot - flowContents must not be null".  After 
closing the dialog, it seems like nothing was imported, but if you refresh the 
view a new flow is imported with version 0.  (As an aside, if you select 
"Download version" on this corrupt flow, the UI seems to open a dialog on the 
left side of the window.)
   
   
![bad_json](https://user-images.githubusercontent.com/18287533/115910486-e14e5e00-a43a-11eb-8ded-03463681aeff.png)
   


-- 
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:
[email protected]


Reply via email to