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:13:43 UTC
[jira] Created: (TAPESTRY-1957) EnumValueEncoder missing null check
when converting to client value
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Assigned: (TAPESTRY-1957) EnumValueEncoder missing null
check when converting to client value
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAPESTRY-1957:
----------------------------------------------
Assignee: Howard M. Lewis Ship
> 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
> 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
[jira] Updated: (TAPESTRY-1957) EnumValueEncoder missing null check
when converting to client value
Posted by "Ted Steen (JIRA)" <de...@tapestry.apache.org>.
[ 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
[jira] Updated: (TAPESTRY-1957) EnumValueEncoder missing null check
when converting to client value
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAPESTRY-1957:
-------------------------------------------
Fix Version/s: (was: 5.0.7)
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
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Closed: (TAPESTRY-1957) EnumValueEncoder missing null check
when converting to client value
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-1957) EnumValueEncoder missing null
check when converting to client value
Posted by "Ted Steen (JIRA)" <de...@tapestry.apache.org>.
[ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org