[
https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542816
]
Si Chen commented on OFBIZ-1394:
--------------------------------
Hey there, how come the BigDecimal typecasting was removed?
- <calcop operator="get" field-name="debitTotal"
type="BigDecimal"/>
- <calcop operator="negative" field-name="creditTotal"
type="BigDecimal"/>
+ <calcop operator="get" field-name="debitTotal"/>
+ <calcop operator="negative" field-name="creditTotal"/>
> Lots of log errors related to AcctgTransServices.xml and
> GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
> Key: OFBIZ-1394
> URL: https://issues.apache.org/jira/browse/OFBIZ-1394
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Reporter: Skip Dever
> Assignee: Jacopo Cappellato
> Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File
> file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml
> process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'include'. One of '{errorpage,
> handler, firstvisit, preprocessor, postprocessor, after-login, before-logout,
> default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File
> file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
> process error. Line: 118. Error message: cvc-enumeration-valid: Value
> '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling,
> Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a
> value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File
> file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
> process error. Line: 322. Error message: cvc-enumeration-valid: Value
> '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling,
> Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a
> value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking
> for real errors. Can someone point me in the right direction to fix this?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.