You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Closed) (JIRA)" <ji...@apache.org> on 2011/10/17 07:14:11 UTC

[jira] [Closed] (OFBIZ-4469) Load product dimension when and only when the product is created successfully

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

Jacques Le Roux closed OFBIZ-4469.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 11.04
                   Release Branch 10.04
                   Release Branch 09.04
         Assignee: Jacques Le Roux

Thanks Leon (and  Martin for helpful advice),

Your patch is in
trunk r1184999
R11.04 r1185007
R10.04 r1185006
R09.04 r1185008

                
> Load product dimension when and only when the product is created successfully
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-4469
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4469
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 09.04, Release Branch 10.04, Release Branch 11.04, SVN trunk
>
>         Attachments: OFBIZ-4469.patch
>
>
> Service "loadType1ProductInProductDimension" is triggered by "createProduct" service on "commit" events in "async" mode. 
> Sometimes, there're too much backend work to do after a product is created and before the whole transaction is commited, as other "sync" mode secas, transaction itself and so on. 
> In such situation, the loadType1ProductInProductDimension service cannot get the product info because the new created product has not been truely commited yet, and then it will fail with error message "cannot found product" in log.
> Patch: use "global-commit" event instead of "commit" to resolve this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira