You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ted Steen (JIRA)" <de...@tapestry.apache.org> on 2007/12/04 12:15:43 UTC
[jira] Updated: (TAPESTRY-1957) EnumValueEncoder missing null check
when converting to client value
[ https://issues.apache.org/jira/browse/TAPESTRY-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Steen updated TAPESTRY-1957:
--------------------------------
Attachment: enumvalueencoderpatch.patch
patch that solves the issue
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org