Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5734

Convert Product association entity CRUD service from simple to entity-auto

    XMLWordPrintableJSON

    Details

      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

        Attachments

        1. OFBIZ-5734.patch
          32 kB
          Nicolas Malin
        2. OFBIZ-5734.patch
          32 kB
          Nicolas Malin

          Activity

            People

            • Assignee:
              nmalin Nicolas Malin
              Reporter:
              nmalin Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: