You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2017/12/15 14:06:00 UTC

[jira] [Assigned] (WICKET-6505) AssertLabel in Wicket Tester doesn't work with "&"

     [ https://issues.apache.org/jira/browse/WICKET-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Del Bene reassigned WICKET-6505:
---------------------------------------

    Assignee: Andrea Del Bene

> AssertLabel in Wicket Tester doesn't work with "&"
> --------------------------------------------------
>
>                 Key: WICKET-6505
>                 URL: https://issues.apache.org/jira/browse/WICKET-6505
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 8.0.0-M8
>            Reporter: Ɓukasz Ludwa
>            Assignee: Andrea Del Bene
>         Attachments: myproject.zip
>
>
> Adding following label works property:
> {code:java}
> add(new Label("test", "&&&&&"));
> {code}
> But in ensuing test case fails:
> {code:java}
> tester.assertLabel("test", "&&&&&");
> {code}
> Giving incoming difference:
> {noformat}
> Expected :&&&&&
> Actual   :&amp;&amp;&amp;&amp;&amp;
> {noformat}
> Seems like problem with this html special character.
> I attached Wicket Quick Start project  with this problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)