[
https://issues.apache.org/jira/browse/OFBIZ-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122571#comment-13122571 ]
elan commented on OFBIZ-3473:
-----------------------------
Does SimpleMapProcess know that it shall stop at which error ?
It may be better to simplify the error message at invoker process while SimpleMapProcess just return all error.
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspaFor more information on JIRA, see:
http://www.atlassian.com/software/jira