[jira] [Closed] (OFBIZ-3473) SimpleMapProcessor don't stop after the first error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-3473) SimpleMapProcessor don't stop after the first error

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-3473.
------------------------------------

    Resolution: Won't Fix

> SimpleMapProcessor don't stop after the first error
> ---------------------------------------------------
>
>                 Key: OFBIZ-3473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3473
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Dimitri Unruh
>            Assignee: David E. Jones
>             Fix For: SVN trunk
>
>         Attachments: SimpleMapProcess.patch
>
>
> Hi @all,
> the SimpleMapProcessor don't stop the validation for a given field after the first error.
> For example:
> I need to validate  a birthdate from an input field. So I process two validation for the field:
> 1. isDate
> 2. isDateBeforeToday
> If the string is not a proper date, the process should stop here, because the secand validation would throw an exception.
> I modified this. Hopefully you like it :)
> Dimitri



--
This message was sent by Atlassian JIRA
(v6.2#6252)