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:40:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16375412#comment-16375412 ]
Deepak Dixit commented on OFBIZ-9969:
-------------------------------------
Thanks Suraj and Sonal for your contribution.
This has been committed at ofbiz framework trunk at r#{color:#222222}1825197{color}
> 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: 17.12.01
>
> 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)