ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (Jira)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-6996) Convert Shipment Crud simple service to entity-auto
Date Mon, 02 Sep 2019 15:15:00 GMT

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

Nicolas Malin closed OFBIZ-6996.
    Fix Version/s: Upcoming Branch
       Resolution: Done

Done on trunk at 1866286. \o/

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