Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-8408 Convert existing CRUD services into entity-auto
  3. OFBIZ-6996

Convert Shipment Crud simple service to entity-auto

    XMLWordPrintableJSON

    Details

    • Flags:
      Patch

      Description

      I converted all available shipment entities crud simple service to entity-auto service.

      This case has particularity that many service call a simple method checkCanChangeShipmentStatus who check for a shipment is it on a good status for the change.

      I convert this mini-lang to a permission service call to optimize the entity-auto conversion but this raise a lock problem on Shipment entity on several service for the reason that a permission service isn't run on the same origin service's transaction.

      I started a thread on this subject http://markmail.org/search/?q=ofbiz%20malin#query:ofbiz%20malin%20order%3Adate-backward+page:1+mid:34vxi4ntmbj7vzcr+state:results

      With this proposal on the thread the target run-tests pass with succeed

      Any review and remark will be welcome

        Attachments

        1. OFBIZ-6996-framework.patch
          0.8 kB
          Nicolas Malin
        2. OFBIZ-6996.patch
          63 kB
          Nicolas Malin

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: