Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Implemented
-
Trunk
Description
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 :
<set value="createProductMeter" field="callingMethodName"/>
<set value="CREATE" field="checkAction"/>
<call-simple-method method-name="checkProductRelatedPermission"/>
replace by a call on service definition :
<permission-service service-name="productGenericPermission" main-action="CREATE"/>
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
<StatusValidChange condition="" statusId="KW_PENDING" statusIdTo="KW_APPROVED" transitionName="Review Approved"/>
<StatusValidChange condition="" statusId="KW_PENDING" statusIdTo="KW_DISAPPROVED" transitionName="Review Disapproved"/>
To run test with successfull