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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • Trunk
    • 18.12.01
    • None
    • 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
          0.8 kB
          Sonal Patwari
        2. OFBIZ-9969.patch
          1 kB
          Sonal Patwari

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: