ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suraj Khurana (Jira)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-6996) Convert Shipment Crud simple service to entity-auto
Date Tue, 03 Sep 2019 06:28:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-6996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Suraj Khurana updated OFBIZ-6996:
        Parent: OFBIZ-8408
    Issue Type: Sub-task  (was: Improvement)

> Convert Shipment Crud simple service to entity-auto
> ---------------------------------------------------
>                 Key: OFBIZ-6996
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6996
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: crud, entity-auto, shipment
>             Fix For: Upcoming Branch
>         Attachments: OFBIZ-6996-framework.patch, OFBIZ-6996.patch
> 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

View raw message