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

        Jacopo Cappellato made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Gavin made changes -
        Workflow jira [ 12498777 ] OFbiz Workflow [ 12507297 ]
        Dimitri Unruh made changes -
        Resolution Not A Problem [ 8 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        David E. Jones made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee David E. Jones [ jonesde ]
        Fix Version/s SVN trunk [ 12311928 ]
        Resolution Not A Problem [ 8 ]
        Dimitri Unruh made changes -
        Field Original Value New Value
        Attachment SimpleMapProcess.patch [ 12435617 ]
        Dimitri Unruh created 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