[
https://issues.apache.org/jira/browse/OFBIZ-8203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476289#comment-15476289 ]
Montalbano Florian commented on OFBIZ-8203:
-------------------------------------------
If there is a default behaviour such as putting the result in the context under the name of the entity, it could be optional. But I don't know what is the behaviour when there is no "value-field" attribute on a 'entity-one' request.
If this attribute is really required, then there should be missing datas on the form.
> 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)