You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jan Kriesten (JIRA)" <ji...@apache.org> on 2007/10/17 13:27:50 UTC

[jira] Created: (WICKET-1080) StringResourceModel.toString() misbehavior

StringResourceModel.toString() misbehavior
------------------------------------------

                 Key: WICKET-1080
                 URL: https://issues.apache.org/jira/browse/WICKET-1080
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta4
         Environment: any
            Reporter: Jan Kriesten


StringResourceModel.toString() doesn't behave like the API documentation states any more.

It returns a lot of debug information instead of the the getString()-result as stated in the docs.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-1080) StringResourceModel.toString() misbehavior

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

Igor Vaynberg reassigned WICKET-1080:
-------------------------------------

    Assignee: Johan Compagner

> StringResourceModel.toString() misbehavior
> ------------------------------------------
>
>                 Key: WICKET-1080
>                 URL: https://issues.apache.org/jira/browse/WICKET-1080
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>         Environment: any
>            Reporter: Jan Kriesten
>            Assignee: Johan Compagner
>
> StringResourceModel.toString() doesn't behave like the API documentation states any more.
> It returns a lot of debug information instead of the the getString()-result as stated in the docs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WICKET-1080) StringResourceModel.toString() misbehavior

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

Johan Compagner closed WICKET-1080.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0-beta5

change the doc of the toString() method

> StringResourceModel.toString() misbehavior
> ------------------------------------------
>
>                 Key: WICKET-1080
>                 URL: https://issues.apache.org/jira/browse/WICKET-1080
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>         Environment: any
>            Reporter: Jan Kriesten
>            Assignee: Johan Compagner
>             Fix For: 1.3.0-beta5
>
>
> StringResourceModel.toString() doesn't behave like the API documentation states any more.
> It returns a lot of debug information instead of the the getString()-result as stated in the docs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1080) StringResourceModel.toString() misbehavior

Posted by "Thomas Mäder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535519 ] 

Thomas Mäder commented on WICKET-1080:
--------------------------------------

I agree the doc can use some clarification. As for the behaviour: I dont' believe toString() was ever intended to deliver user-presentable text. So my vote goes towards fixing the javadoc. toString() is typically used in debuggers, and I find the new format way more informative.

> StringResourceModel.toString() misbehavior
> ------------------------------------------
>
>                 Key: WICKET-1080
>                 URL: https://issues.apache.org/jira/browse/WICKET-1080
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>         Environment: any
>            Reporter: Jan Kriesten
>
> StringResourceModel.toString() doesn't behave like the API documentation states any more.
> It returns a lot of debug information instead of the the getString()-result as stated in the docs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.