NIFI-8520 - Parameter Contexts - Show the wrong information of referencing compon…#5060
NIFI-8520 - Parameter Contexts - Show the wrong information of referencing compon…#5060s9514171 wants to merge 1 commit intoapache:mainfrom s9514171:NIFI-8520
Conversation
|
This is fixing the issue I raised in #5048. Thanks @s9514171 |
|
reviewing... |
| * @param parameterToSelect Optional, name of the parameter to select in the table. | ||
| */ | ||
| showParameterContext: function (id, readOnly, parameterToSelect) { | ||
| parameterCount = 0; |
There was a problem hiding this comment.
I have tested this and it works as advertised.... but I can't figure out why this works or what the original issue is...
There was a problem hiding this comment.
By not resetting this count each time the parameter context table is displayed the count now grows each time the dialog is opened.
There was a problem hiding this comment.
@scottyaslan sorry for the late reply, the first fix idea is referenced from variable handling..., but it seems to have the potential issue as you mentioned. maybe we can also fix it too.
I'm reviewing it again, and currently, I find there is a better way to solve it. I'll update later after testing
…ncing components
|
@scottyaslan I have force-push a new commit for this issue. This commit unset the rows when calling the if we do not unset it, Thanks |
|
CI failed, but seems not related to the PR |
|
Thanks @s9514171 I am a +1! |
|
Thanks @scottyaslan. I also open another JIRA #5097 for the issue variable count not reset in variable registry dialog. |
…ncing components Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes apache#5060.
…ncing components Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes apache#5060.
…ents
the selected row of
parametersGriddoesn't unset when close the parameter dialogwhen we close then open the parameter dialog, the
parameterData.addItem(parameter);will fire theonSelectedRowsChangedto show a wrong informationDescription of PR
https://issues.apache.org/jira/browse/NIFI-8520
For all changes:
Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
Has your PR been rebased against the latest commit within the target branch (typically
main)?Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not
squashor use--forcewhen pushing to allow for clean monitoring of changes.For code changes:
mvn -Pcontrib-check clean installat the rootnififolder?LICENSEfile, including the mainLICENSEfile undernifi-assembly?NOTICEfile, including the mainNOTICEfile found undernifi-assembly?.displayNamein addition to .name (programmatic access) for each of the new properties?For documentation related changes:
Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.