You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (Updated) (JIRA)" <ji...@apache.org> on 2011/10/12 07:33:12 UTC

[jira] [Updated] (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 ]

Leon updated OFBIZ-4469:
------------------------

    Attachment: OFBIZ-4469.patch
    
> 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
>            Priority: Minor
>             Fix For: 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