You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Scott Aslan (JIRA)" <ji...@apache.org> on 2019/05/10 22:20:00 UTC

[jira] [Created] (NIFI-6292) UI - Variable registry: variables count is out of sync

Scott Aslan created NIFI-6292:
---------------------------------

             Summary: 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


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)