Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04
    • Fix Version/s: 12.04.06
    • Component/s: accounting
    • Labels:
      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.

      1. OFBIZ-5452.patch
        6 kB
        Pranay Pandey

        Activity

        Hide
        pandeypranay Pranay Pandey added a comment -

        This issue is already fixed in ofbiz.13.07 release & trunk. The methods invoiceSequence-enforced and invoiceSequence-restart have been renamed to invoiceSequenceEnforced & invoiceSequenceRestart respectively in applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml file.

        Exists in 12.04, will provide a patch for it.

        Show
        pandeypranay Pranay Pandey added a comment - This issue is already fixed in ofbiz.13.07 release & trunk. The methods invoiceSequence-enforced and invoiceSequence-restart have been renamed to invoiceSequenceEnforced & invoiceSequenceRestart respectively in applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml file. Exists in 12.04, will provide a patch for it.
        Hide
        pandeypranay Pranay Pandey added a comment -

        Patch attached for release 12.04.

        Show
        pandeypranay Pranay Pandey added a comment - Patch attached for release 12.04.
        Hide
        toashishvijay Ashish Vijaywargiya added a comment -

        Thanks Sergei Biletnikov for reporting this issue, Thanks Pranay for providing the patch, changes are committed in 12.04 at r1639888

        Show
        toashishvijay Ashish Vijaywargiya added a comment - Thanks Sergei Biletnikov for reporting this issue, Thanks Pranay for providing the patch, changes are committed in 12.04 at r1639888

          People

          • Assignee:
            toashishvijay Ashish Vijaywargiya
            Reporter:
            sbiletnikov Sergei Biletnikov
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development