You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Attila Király (JIRA)" <ji...@apache.org> on 2011/01/01 22:47:46 UTC
[jira] Created: (WICKET-3297) UrlAttributes are encoded incorrectly
when style is null but variation is not
UrlAttributes are encoded incorrectly when style is null but variation is not
-----------------------------------------------------------------------------
Key: WICKET-3297
URL: https://issues.apache.org/jira/browse/WICKET-3297
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5-M3
Reporter: Attila Király
AbstractResourceReferenceMapper.encodeResourceReferenceAttributes() method generates the same "-foo" output for these two different inputs: {locale = null, style = "foo", variation = null} and {locale = null, style = null, variation = "foo"}.
For the second input it should generate "--foo" (double dash prefix).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-3297) UrlAttributes are encoded
incorrectly when style is null but variation is not
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3297:
---------------------------------------
Assignee: Martin Grigorov
> UrlAttributes are encoded incorrectly when style is null but variation is not
> -----------------------------------------------------------------------------
>
> Key: WICKET-3297
> URL: https://issues.apache.org/jira/browse/WICKET-3297
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Attila Király
> Assignee: Martin Grigorov
> Attachments: WICKET-3297.patch
>
>
> AbstractResourceReferenceMapper.encodeResourceReferenceAttributes() method generates the same "-foo" output for these two different inputs: {locale = null, style = "foo", variation = null} and {locale = null, style = null, variation = "foo"}.
> For the second input it should generate "--foo" (double dash prefix).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3297) UrlAttributes are encoded incorrectly
when style is null but variation is not
Posted by "Attila Király (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Király updated WICKET-3297:
----------------------------------
Attachment: WICKET-3297.patch
Attaching patch with fix and new test case.
> UrlAttributes are encoded incorrectly when style is null but variation is not
> -----------------------------------------------------------------------------
>
> Key: WICKET-3297
> URL: https://issues.apache.org/jira/browse/WICKET-3297
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Attila Király
> Attachments: WICKET-3297.patch
>
>
> AbstractResourceReferenceMapper.encodeResourceReferenceAttributes() method generates the same "-foo" output for these two different inputs: {locale = null, style = "foo", variation = null} and {locale = null, style = null, variation = "foo"}.
> For the second input it should generate "--foo" (double dash prefix).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3297) UrlAttributes are encoded
incorrectly when style is null but variation is not
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3297.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
The patch is applied with r1054424.
Thanks!
> UrlAttributes are encoded incorrectly when style is null but variation is not
> -----------------------------------------------------------------------------
>
> Key: WICKET-3297
> URL: https://issues.apache.org/jira/browse/WICKET-3297
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Attila Király
> Assignee: Martin Grigorov
> Fix For: 1.5-M4
>
> Attachments: WICKET-3297.patch
>
>
> AbstractResourceReferenceMapper.encodeResourceReferenceAttributes() method generates the same "-foo" output for these two different inputs: {locale = null, style = "foo", variation = null} and {locale = null, style = null, variation = "foo"}.
> For the second input it should generate "--foo" (double dash prefix).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.