You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/12/12 03:45:21 UTC

[jira] Resolved: (TAPESTRY-1174) Review validation error messages.

     [ http://issues.apache.org/jira/browse/TAPESTRY-1174?page=all ]

Jesse Kuhnert resolved TAPESTRY-1174.
-------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

Fixed the numeric/number based strings. 

I noticed that dates get this "format is " string but can't remember if that is something I added or not. Either way I think it actually does make sense for dates so will probably need some stronger convincing if that isn't what others think.


> Review validation error messages.
> ---------------------------------
>
>                 Key: TAPESTRY-1174
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1174
>             Project: Tapestry
>          Issue Type: Task
>    Affects Versions: 4.1.1
>            Reporter: Kevin J. Menard, Jr.
>         Assigned To: Jesse Kuhnert
>            Priority: Minor
>             Fix For: 4.1.1
>
>
> The validation error messages have changed between T4.0.x and 4.1.x.  The change was made in an attempt to provide a better hint to the user about what made their input invalid.  There is some dispute on the user list as to whether the changes made overly complicate things or actually make things easier for the user.
> Moreover, there's dispute about whether changing the messages is considered a backwards-incompatible change.  Developers may have come to rely on these messages and not expect the change.  In my own case, it broke integration tests I had that checked for the presence of a particular error message.
> There's also dispute over whether the detailed messages are more appropriate for developers or for end users.  If this is all the issue comes down to, adding a "debug" property might be a nice compromise for switching between the two (although, maintaining two sets of messages may be cumbersome).
> At the very least, the changes should be reviewed and some general consensus reached about how to move forward.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org