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.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment