[
https://issues.apache.org/jira/browse/TAPESTRY-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548231
]
Ted Steen commented on TAPESTRY-1957:
-------------------------------------
If the value encoder is going away, then at least this applies for the future
EnumTranslator...
> EnumValueEncoder missing null check when converting to client value
> -------------------------------------------------------------------
>
> Key: TAPESTRY-1957
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1957
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.6
> Reporter: Ted Steen
> Priority: Minor
> Fix For: 5.0.7
>
> Attachments: enumvalueencoderpatch.patch
>
>
> Sometimes a SelectModel has a disabled "select an option..."-option (or just
> a breaking line) which is mapped to null.
> When this is used with the EnumValueEncoder, toClient(E value) throws a NPE.
> A simple null check solves this problem. (see patch)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]