Summa Networks created WICKET-6537:
--------------------------------------

             Summary: Recorder will not show as selectable entities that are 
not selected
                 Key: WICKET-6537
                 URL: https://issues.apache.org/jira/browse/WICKET-6537
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 7.3.0
            Reporter: Summa Networks


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);
}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to