[
https://issues.apache.org/jira/browse/NIFI-6292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838557#comment-16838557
]
ASF subversion and git services commented on NIFI-6292:
-------------------------------------------------------
Commit 95fd14866e263059c3a25bead5baa9c4c5cc368f in nifi's branch
refs/heads/master from Scott Aslan
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=95fd148 ]
[NIFI-6292] update variables slickgrid table row ids
This closes #3469
> UI - Variable registry: variables count is out of sync
> ------------------------------------------------------
>
> Key: NIFI-6292
> URL: https://issues.apache.org/jira/browse/NIFI-6292
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.9.2
> Reporter: Scott Aslan
> Assignee: Scott Aslan
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When creating variables in the variable registry dialog the length of the
> array containing the variables is used as the id for the variable in the
> slickgrid table row. This can cause issues if a user deletes a variable and
> attempts to create a new variable.
>
> Example: The user creates 3 variables Each of those variables has the id of
> 1, 2, 3 respectively. Then the user deletes variable #1. Then the user
> attempts to create a new variable. The new variable will have the id of 3...
> but now there are 2 rows in thh table with id of 3 and when the cell editor
> pops open for this new variable the value of the text editor shows the value
> belonging to the first variable with the id = 3.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)