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
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]