[
https://issues.apache.org/jira/browse/OFBIZ-10325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pritam Kute updated OFBIZ-10325:
--------------------------------
Attachment: PartyProfile.png
> EntityOne.java doesn't throw proper exception if field is not available in entity
> ---------------------------------------------------------------------------------
>
> Key: OFBIZ-10325
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10325> Project: OFBiz
> Issue Type: Improvement
> Reporter: Suraj Khurana
> Priority: Major
> Attachments: PartyProfile.png
>
>
> Using entity-one tag in xml services, if field is not a part of entity, proper exception message should be thrown with returned error service response.
> Suppose:
> <entity-one entity-name="ProductFacility" value-field="productFacility">
> <field-map field-name="productId" from-field="parameters.productId"/>
> <field-map field-name="facilityId" from-field="parameters.facilityId"/>
> <field-map field-name="partyId" from-field="parameters.partyId"/>
> </entity-one>
> partyId is not part of ProductFacility entity, if such code is used inside any xml service, than proper exception should be thrown from EntityOne.java
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)