scottyaslan commented on issue #3606: [WIP] Nifi 6282 URL: https://github.com/apache/nifi/pull/3606#issuecomment-523956904 > I also find that when I apply updates to the Parameter Context, the dialog on the right-hand side shows which components are affected, rolled up by group. If I expand a group, and then the dialog refreshes (for instance, goes from all steps 'pending' to all steps complete), the group that I have expanded collapses back down, showing just the groups and not the components below them. > > I also see that when the request completes, that the dialog shows all steps with a green checkmark, and the JSON coming back shows `"percentComplete": 100` and `"complete": true` but the dialog still shows a 'Cancel' button instead of an OK. Once I click Cancel, it changes to OK. On a related note, when I do click Cancel, I do not see a DELETE request fired off for the appropriate `update-request`. When I do update the Parameters, I also see the 'spinning circle of death' and a JavaScript error. In Chrome Dev Tools, it shows: > > ``` > slick.dataview.js:359 Uncaught Error: Invalid or non-matching id > at DataView.updateItem (slick.dataview.js:359) > at aj (nf-canvas-all.js?1.10.0-SNAPSHOT:50) > at Object.<anonymous> (nf-canvas-all.js?1.10.0-SNAPSHOT:50) > at c (jquery.min.js:2) > at Object.fireWith [as resolveWith] (jquery.min.js:2) > at l (jquery.min.js:2) > at XMLHttpRequest.<anonymous> (jquery.min.js:2) > ``` > > Of course, this is minified so may not be very helpful. @markap14 I have updated the UX such that the groups of referenced components in the parameter usage section is expanded by default. I don't believe this solves the issue since now a user could still collapse a group and then if they apply an update to the parameter each poll for the update complete will re-render the groups of 'twisties' fully expanded. However, it does seem to alleviate the issue and the implementation is functionally correct. I have filled https://issues.apache.org/jira/browse/NIFI-6580 to improve the parameters usage UX.
---------------------------------------------------------------- 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