Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5452

Illegal simple methods name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 12.04
    • 12.04.06
    • accounting
    • None

    Description

      /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.

      Attachments

        1. OFBIZ-5452.patch
          6 kB
          Pranay Pandey

        Activity

          People

            toashishvijay Ashish Vijaywargiya
            sbiletnikov Sergei Biletnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: