1) Create a UPPERCASE repository.
2) Go in a team configuration and add the repository to the team.
3) Save.
4) You will see that the team have 1 repository.
5) Go back in the team configuration.
6) The repo is not in the selected.
I already had this problem on another project using wicket.
Wicket uses equals for the palette to see if an item is on left or right.
You need to override the compare to use equalsIgnoreCase if its a string. This should
go in wicket using an instanceof or something imo but you can fix it that way.
Reported by rouche on 2012-03-05 13:10:53
The text was updated successfully, but these errors were encountered:
Tricky. Yup I can reproduce that, thanks for the report.
It looks like this can be handled a little more elegantly by controlling the idExpression
of the ChoiceRenderer.
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/form/ChoiceRenderer.html
I suppose the Wicket devs are optimizing for complex domain objects instead of simple
types. My fix will be to subclass ChoiceRenderer and control the return value for
getIdValue() which is used by the palette to determine the select's options. A quick
test shows that it works properly for your issue.
Originally reported on Google Code with ID 71
Reported by
rouche
on 2012-03-05 13:10:53The text was updated successfully, but these errors were encountered: