You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Benda (JIRA)" <ji...@apache.org> on 2007/03/01 14:19:50 UTC
[jira] Created: (WICKET-340) [Patch] Unexpected NPE in
MapVariableInterpolator
[Patch] Unexpected NPE in MapVariableInterpolator
-------------------------------------------------
Key: WICKET-340
URL: https://issues.apache.org/jira/browse/WICKET-340
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 2.0
Reporter: Martin Benda
Attachments: MapVariableInterpolator.patch
When MapVariableInterpolator interpolates a string that contains variables missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is set to false. The bug is in the getValue method - toString() is invoken directly on tha value returned from the map.
A trivial patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-340) [Patch] Unexpected NPE in
MapVariableInterpolator
Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot resolved WICKET-340.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0
1.3
Committed, thanks for your patch!
> [Patch] Unexpected NPE in MapVariableInterpolator
> -------------------------------------------------
>
> Key: WICKET-340
> URL: https://issues.apache.org/jira/browse/WICKET-340
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Martin Benda
> Assigned To: Jean-Baptiste Quenot
> Fix For: 1.3, 2.0
>
> Attachments: MapVariableInterpolator.patch
>
>
> When MapVariableInterpolator interpolates a string that contains variables missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is set to false. The bug is in the getValue method - toString() is invoken directly on tha value returned from the map.
> A trivial patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-340) [Patch] Unexpected NPE in
MapVariableInterpolator
Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot reassigned WICKET-340:
-------------------------------------------
Assignee: Jean-Baptiste Quenot
> [Patch] Unexpected NPE in MapVariableInterpolator
> -------------------------------------------------
>
> Key: WICKET-340
> URL: https://issues.apache.org/jira/browse/WICKET-340
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Martin Benda
> Assigned To: Jean-Baptiste Quenot
> Attachments: MapVariableInterpolator.patch
>
>
> When MapVariableInterpolator interpolates a string that contains variables missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is set to false. The bug is in the getValue method - toString() is invoken directly on tha value returned from the map.
> A trivial patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-340) [Patch] Unexpected NPE in
MapVariableInterpolator
Posted by "Martin Benda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Benda updated WICKET-340:
--------------------------------
Attachment: MapVariableInterpolator.patch
> [Patch] Unexpected NPE in MapVariableInterpolator
> -------------------------------------------------
>
> Key: WICKET-340
> URL: https://issues.apache.org/jira/browse/WICKET-340
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Martin Benda
> Attachments: MapVariableInterpolator.patch
>
>
> When MapVariableInterpolator interpolates a string that contains variables missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is set to false. The bug is in the getValue method - toString() is invoken directly on tha value returned from the map.
> A trivial patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-340) [Patch] Unexpected NPE in
MapVariableInterpolator
Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot updated WICKET-340:
----------------------------------------
Fix Version/s: (was: trunk)
1.3.0-beta1
> [Patch] Unexpected NPE in MapVariableInterpolator
> -------------------------------------------------
>
> Key: WICKET-340
> URL: https://issues.apache.org/jira/browse/WICKET-340
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0 branch (discontinued)
> Reporter: Martin Benda
> Assignee: Jean-Baptiste Quenot
> Fix For: 1.3.0-beta1, 2.0 branch (discontinued)
>
> Attachments: MapVariableInterpolator.patch
>
>
> When MapVariableInterpolator interpolates a string that contains variables missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is set to false. The bug is in the getValue method - toString() is invoken directly on tha value returned from the map.
> A trivial patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.