You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2012/09/05 21:24:07 UTC

[jira] [Closed] (OFBIZ-4976) method-name orderSequence-enforced, is not correct for simple-methods-v2.xsd

     [ https://issues.apache.org/jira/browse/OFBIZ-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES closed OFBIZ-4976.
-------------------------------------

    Resolution: Implemented
      Assignee: Erwan de FERRIERES

Hi Olivier,

I already did it, so closing it.
Sorry for not having seen it...

Cheers,
                
> 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
>            Assignee: Erwan de FERRIERES
>            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
For more information on JIRA, see: http://www.atlassian.com/software/jira