[
https://issues.apache.org/jira/browse/OFBIZ-8203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476506#comment-15476506 ]
Montalbano Florian commented on OFBIZ-8203:
-------------------------------------------
So, it somehow works without value-field but the result is put directly in the context map (Stack 2 ?).
It seems to be an non-controlled behaviour so we should always put the 'value-field' to improve both the code reviewing and the security (maybe it can override some context value).
> Attribute 'value-field' must appear on element 'entity-one'
> -----------------------------------------------------------
>
> Key: OFBIZ-8203
> URL:
https://issues.apache.org/jira/browse/OFBIZ-8203> Project: OFBiz
> Issue Type: Bug
> Components: content, humanres
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
>
> I have found 4 such issues:
> {code}
> XmlFileLoader: File file:/C:/projectASF-Mars/ofbiz/applications/content/widget/content/ContentForms.xml process error. Line: 235. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
> XmlFileLoader: File file:/C:/projectASF-Mars/ofbiz/applications/content/widget/contentsetup/ContentSetupForms.xml process error. Line: 217. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
> XmlFileLoader: File file:/C:/projectASF-Mars/ofbiz/applications/humanres/widget/forms/EmploymentAppForms.xml process error. Line: 27. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
> XmlFileLoader: File file:/C:/projectASF-Mars/ofbiz/applications/humanres/widget/forms/PayGradeForms.xml process error. Line: 65. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.h
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)