[ https://issues.apache.org/jira/browse/OFBIZ-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Vijaywargiya closed OFBIZ-5452. -------------------------------------- Resolution: Fixed Thanks Sergei Biletnikov for reporting this issue, Thanks Pranay for providing the patch, changes are committed in 12.04 at r1639888 > Illegal simple methods name > --------------------------- > > Key: OFBIZ-5452 > URL: https://issues.apache.org/jira/browse/OFBIZ-5452 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Release Branch 12.04 > Reporter: Sergei Biletnikov > Assignee: Ashish Vijaywargiya > Priority: Minor > Attachments: OFBIZ-5452.patch > > > /applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml > script, has two methods wich do not follow the necessary method name pattern. > invoiceSequence-enforced > invoiceSequence-restart > As result, the log file contains the following errors: > UtilXml.java:1060:ERROR] XmlFileLoader: File > file:/D:/Projects/OFBiz-12.04-AP/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml > process error. Line: 77. Error message: cvc-pattern-valid: Value > 'invoiceSequence-enforced' is not facet-valid with respect to pattern > '[a-zA-Z_]{1}[a-zA-Z0-9_$.]+' for type 'javaClassName'. > UtilXml.java:1060:ERROR] XmlFileLoader: File > file:/D:/Projects/OFBiz-12.04-AP/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml > process error. Line: 77. Error message: cvc-attribute.3: The value > 'invoiceSequence-enforced' of attribute 'method-name' on element > 'simple-method' is not valid with respect to its type, 'javaClassName'. > etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)