You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sergei Biletnikov (JIRA)" <ji...@apache.org> on 2013/12/28 16:40:50 UTC

[jira] [Created] (OFBIZ-5452) Illegal simple methods name

Sergei Biletnikov created OFBIZ-5452:
----------------------------------------

             Summary: 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
            Priority: Minor


/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.1.5#6160)