You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2018/02/24 08:41:00 UTC

[jira] [Resolved] (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.

     [ https://issues.apache.org/jira/browse/OFBIZ-9969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit resolved OFBIZ-9969.
---------------------------------
    Resolution: Done

> 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.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9969
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Sonal Patwari
>            Assignee: Deepak Dixit
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-9969.patch, OFBIZ-9969.patch
>
>
> *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'.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)