Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6537

Recorder will not show as selectable entities that are not selected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 7.3.0
    • None
    • None
    • None

    Description

      When using a Palette, the Recorder will look for the selected and unselected items doing an iteration over the array list. However, as the list is managed with strings separated by comas, the implementation will not distinguish between values that are similar. For example, id=24 will be excluded as id=240 is already added. The issue arises as the way to find the un-selected is using a contains, which in a list like: 45, 45, 24, 240, 2400, etc, will find it on any "24"
      The code is:
      if (ids.contains(choiceId) == false)

      { unselected.add(choice); }

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              summanetworks Summa Networks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: