OFBiz
  1. OFBiz
  2. OFBIZ-3473

SimpleMapProcessor don't stop after the first error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David E. Jones
            Reporter:
            Dimitri Unruh
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development