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

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

    [ http://issues.apache.org/jira/browse/TAPESTRY-1174?page=comments#action_12455754 ] 
            
Sam Gendler commented on TAPESTRY-1174:
---------------------------------------

I don't know enough about hivemind, but if it is possible to use hivemind to allow a user to override the properties en-masse, then it would definitely be useful to many a developer to have validation messages that do contain developer-specific info like format patterns or even the entire string that was passed to the validators binding of the component.  I'd love to be able to run with developer messages right up through most of the QA cycle, so that when errors get reported, I've got as much info as possible, just not at the expense of having to manually override all the built-in messages.

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