[jira] [Created] (OFBIZ-6996) Convert Shipment Crud simple service to entity-auto

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-6996) Convert Shipment Crud simple service to entity-auto

Nicolas Malin (Jira)
Nicolas Malin created OFBIZ-6996:
------------------------------------

             Summary: Convert Shipment Crud simple service to entity-auto
                 Key: OFBIZ-6996
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6996
             Project: OFBiz
          Issue Type: Improvement
          Components: product
    Affects Versions: Trunk
            Reporter: Nicolas Malin
            Assignee: Nicolas Malin
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)