You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Einar Bjerve (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 16:31:39 UTC

[jira] [Created] (WICKET-4323) StringResourceModels doesn't seem to detach properly

StringResourceModels doesn't seem to detach properly
----------------------------------------------------

                 Key: WICKET-4323
                 URL: https://issues.apache.org/jira/browse/WICKET-4323
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.3
            Reporter: Einar Bjerve
            Priority: Minor


If a StringResourceModel contains a model for property substitutions, and there has not been assigned a component it is relative to on construction time, it will not detach the property substitution model.

See this thread for a full explanation
http://apache-wicket.1842946.n4.nabble.com/StringResourceModels-doesn-t-seem-to-detach-properly-td4257267.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4323) StringResourceModels doesn't seem to detach properly

Posted by "Einar Bjerve (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Einar Bjerve updated WICKET-4323:
---------------------------------

    Attachment: test-that-replicates-the-error.patch
                suggested-fix.patch

Attached a modification to StringResourceModelTest that replicates the error, and a suggested fix to StringResourceModel
                
> StringResourceModels doesn't seem to detach properly
> ----------------------------------------------------
>
>                 Key: WICKET-4323
>                 URL: https://issues.apache.org/jira/browse/WICKET-4323
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Einar Bjerve
>            Priority: Minor
>         Attachments: suggested-fix.patch, test-that-replicates-the-error.patch
>
>
> If a StringResourceModel contains a model for property substitutions, and there has not been assigned a component it is relative to on construction time, it will not detach the property substitution model.
> See this thread for a full explanation
> http://apache-wicket.1842946.n4.nabble.com/StringResourceModels-doesn-t-seem-to-detach-properly-td4257267.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4323) StringResourceModels doesn't seem to detach properly

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4323.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
                   1.5.4
         Assignee: Martin Grigorov
    
> StringResourceModels doesn't seem to detach properly
> ----------------------------------------------------
>
>                 Key: WICKET-4323
>                 URL: https://issues.apache.org/jira/browse/WICKET-4323
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Einar Bjerve
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.5.4, 6.0.0
>
>         Attachments: suggested-fix.patch, test-that-replicates-the-error.patch
>
>
> If a StringResourceModel contains a model for property substitutions, and there has not been assigned a component it is relative to on construction time, it will not detach the property substitution model.
> See this thread for a full explanation
> http://apache-wicket.1842946.n4.nabble.com/StringResourceModels-doesn-t-seem-to-detach-properly-td4257267.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira