[ https://issues.apache.org/jira/browse/OFBIZ-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacopo Cappellato updated OFBIZ-5734: ------------------------------------- Fix Version/s: (was: Trunk) > Convert Product association entity CRUD service from simple to entity-auto > -------------------------------------------------------------------------- > > Key: OFBIZ-5734 > URL: https://issues.apache.org/jira/browse/OFBIZ-5734 > Project: OFBiz > Issue Type: Improvement > Components: product > Affects Versions: Trunk > Reporter: Nicolas Malin > Priority: Trivial > Labels: crud, entity-auto, product > Attachments: OFBIZ-5734.patch > > > I converted CRUD service to entity-auto for : > * GoodIdentification > * ProductAttribute > * ProductGeo > * ProductMeter > * ProductMaint > * ProductGlAccount > * ProductAssoc > * ProductKeyword > There is a specific permission service on some simple method function like > this : > {quote} > <set value="createProductMeter" field="callingMethodName"/> > <set value="CREATE" field="checkAction"/> > <call-simple-method method-name="checkProductRelatedPermission"/> > {quote} > replace by a call on service definition : > {quote} > <permission-service service-name="productGenericPermission" > main-action="CREATE" resource-description="createProductMeter"/> > {quote} > The productGenericPermission service call checkProductRelatedPermission with > as callingMethodName <- resource-description > I run manual test create/update/delete on each entity from product screen and > I run ./ant clean-all load-demo run-tests with one error due to a status > change on productKeyword. The reason that I added > {quote} > <StatusValidChange condition="" statusId="KW_PENDING" > statusIdTo="KW_APPROVED" transitionName="Review Approved"/> > <StatusValidChange condition="" statusId="KW_PENDING" > statusIdTo="KW_DISAPPROVED" transitionName="Review Disapproved"/> > {quote} > To run test with successfull -- This message was sent by Atlassian JIRA (v6.2#6252)