Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6292

UI - Variable registry: variables count is out of sync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2
    • 1.10.0
    • Core UI
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              scottyaslan Scott Aslan
              scottyaslan Scott Aslan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h