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:49:45 UTC

[jira] Updated: (WICKET-3297) UrlAttributes are encoded incorrectly when style is null but variation is not

     [ 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.