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)
Attachments
Issue Links
- duplicates
-
WICKET-6244 Palette does not list unselected options
- Resolved