Suraj Khurana created OFBIZ-10325:
-------------------------------------

             Summary: 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


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)

Reply via email to