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

In 'ValidateMethod.java', when we don't pass any className from xml files. default value 'org.apache.ofbiz.base.util.UtilValidate' should be set for className.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: None
    • Labels:
      None

      Description

      Actual: In 'ValidateMethod.java', If we have not passed any className from the xml files.Then, className is set to null and throws an error of 'Validation Method not found'.
      Expected: A default value 'org.apache.ofbiz.base.util.UtilValidate' should be assigned to the className.

      As reference: Visit 'ValidateMethodCondition.java' and there, 'className' is set with a default value 'org.apache.ofbiz.base.util.UtilValidate'.

        Attachments

        1. OFBIZ-9969.patch
          1 kB
          Sonal Patwari
        2. OFBIZ-9969.patch
          0.8 kB
          Sonal Patwari

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              sonal.patwari Sonal Patwari
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: