You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/05/30 17:15:18 UTC

[jira] Closed: (TAPESTRY-1504) When a Map is converted to a SelectModel, the keys are converted unnecessarily to strings

     [ https://issues.apache.org/jira/browse/TAPESTRY-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1504.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.5

> When a Map is converted to a SelectModel, the keys are converted unnecessarily to strings
> -----------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1504
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1504
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.5
>
>
> Currently, there's code that turns the key values into strings (null becomes the empty string). This is not necessary, the Select component has no problems with nulls and objects) and, worse, screws up the check for the currently selected value (the string "123" never equals the Integer 123).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org