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

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

       Resolution: Fixed
    Fix Version/s: 5.0.8

> 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
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.8
>
>         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]

Reply via email to