Olivier Heintz created OFBIZ-4976: ------------------------------------- Summary: method-name orderSequence-enforced, is not correct for simple-methods-v2.xsd Key: OFBIZ-4976 URL: https://issues.apache.org/jira/browse/OFBIZ-4976 Project: OFBiz Issue Type: Bug Reporter: Olivier Heintz Priority: Minor Fix For: SVN trunk Attachments: OFBIZ-4976.patch
now the "-" is not authorized in a method-name so orderSequence-enforced generate a validation error {code} 2012-07-24 17:06:57,722 (http-bio-0.0.0.0-8443-exec-2) [ UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/devel/oheOfbizUneCorrection/ofbiz/applications/order/script/org/ofbiz/order/order/OrderServices.xml process error. Line: 530. Error message: cvc-pattern-valid: Value 'orderSequence-enforced' is not facet-valid with respect to pattern '[a-zA-Z_]{1}[a-zA-Z0-9_$.]+' for type 'javaClassName'. 2012-07-24 17:06:57,723 (http-bio-0.0.0.0-8443-exec-2) [ UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/devel/oheOfbizUneCorrection/ofbiz/applications/order/script/org/ofbiz/order/order/OrderServices.xml process error. Line: 530. Error message: cvc-attribute.3: The value 'orderSequence-enforced' of attribute 'method-name' on element 'simple-method' is not valid with respect to its type, 'javaClassName'. {code} I propose to change it to orderSequenceEnforced. The join patch change in OrderServices.xml and in the service definition file -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira