Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3473

SimpleMapProcessor don't stop after the first error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Trunk
    • Trunk
    • framework
    • 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

      Attachments

        1. SimpleMapProcess.patch
          2 kB
          Dimitri Unruh

        Activity

          People

            jonesde David E. Jones
            dunruh Dimitri Unruh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: