[ 
http://www.stripesframework.org/jira/browse/STS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-123.
--------------------------


> LocalizableError doesn't show value when added at constructor.
> --------------------------------------------------------------
>
>                 Key: STS-123
>                 URL: http://www.stripesframework.org/jira/browse/STS-123
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>            Reporter: Nic Holbrook
>            Assignee: Tim Fennell
>             Fix For: Release 1.3
>
>
> When I called errors.add("userName", new 
> LocalizableError("validation.mask.valueDoesNotMatch", new 
> Object[]{userName}));
> I get the message "null is not a valid userName".
> I changed the call to 
> ValidationError error = new 
> LocalizableError("validation.mask.valueDoesNotMatch");
> error.setFieldValue(userName);
> errors.add("userName", error);
> I get the message "j...@oe is not a valid userName".

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to