Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NIFI-13641] - Remove parameter value from parameter context update request if there are referenced assets #9173

Conversation

rfellows
Copy link
Contributor

This should be merged along with #9138. When that allows adding of referenced assets to a parameter via the REST API the UI needs to be aware as to not overwrite this value if someone edits the parameter description from the UI.

NIFI-13641

If a parameter has referenced assets, the textual value (the path to the file) should be removed (if unchanged in the UI) before submitting it in an update request. This really only applies when a user might change the description of a parameter that has a referenced asset. However, if the user decides to change the value of the parameter in the UI, it should still respect that.

@rfellows rfellows added the new ui Pull requests for work relating to the new user interface being developed. label Aug 12, 2024
@rfellows rfellows marked this pull request as ready for review August 13, 2024 21:01
@rfellows rfellows force-pushed the NIFI-13641-removeValueFromParamsWithReferencedAssets branch from 10c5219 to f3ec180 Compare August 14, 2024 15:56
@mcgilman
Copy link
Contributor

Will review....

Copy link
Contributor

@mcgilman mcgilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rfellows!

@mcgilman mcgilman merged commit 046d72d into apache:main Aug 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new ui Pull requests for work relating to the new user interface being developed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants