Re: svn commit: r965332 - in /ofbiz/trunk/applications: accounting/servicedef/secas_olap.xml order/servicedef/secas_olap.xml product/servicedef/secas_olap.xml

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

Re: svn commit: r965332 - in /ofbiz/trunk/applications: accounting/servicedef/secas_olap.xml order/servicedef/secas_olap.xml product/servicedef/secas_olap.xml

Jacques Le Roux
Administrator
Thanks Scott,

I just stumbled upon the same issue (DateDimension was empty in my case) :)

Jacques

> Author: lektran
> Date: Mon Jul 19 00:13:06 2010
> New Revision: 965332
>
> URL: http://svn.apache.org/viewvc?rev=965332&view=rev
> Log:
> Run olap SECAs asynchronously so that if they encounter any problems then the entire process that they're attached to won't get
> rolled back.
>
> Modified:
>    ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml
>    ofbiz/trunk/applications/order/servicedef/secas_olap.xml
>    ofbiz/trunk/applications/product/servicedef/secas_olap.xml
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml?rev=965332&r1=965331&r2=965332&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml (original)
> +++ ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml Mon Jul 19 00:13:06 2010
> @@ -26,7 +26,7 @@ under the License.
>     <eca service="setInvoiceStatus" event="commit">
>         <condition field-name="statusId" operator="equals" value="INVOICE_READY"/>
>         <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
> -        <action service="loadSalesInvoiceFact" mode="sync" run-as-user="system"/>
> +        <action service="loadSalesInvoiceFact" mode="async" run-as-user="system"/>
>     </eca>
>
> </service-eca>
>
> Modified: ofbiz/trunk/applications/order/servicedef/secas_olap.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas_olap.xml?rev=965332&r1=965331&r2=965332&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/servicedef/secas_olap.xml (original)
> +++ ofbiz/trunk/applications/order/servicedef/secas_olap.xml Mon Jul 19 00:13:06 2010
> @@ -26,7 +26,7 @@ under the License.
>     <eca service="setOrderStatus" event="commit">
>         <condition field-name="statusId" operator="equals" value="ITEM_APPROVED"/>
>         <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
> -        <action service="loadSalesOrderFact" mode="sync" run-as-user="system"/>
> +        <action service="loadSalesOrderFact" mode="async" run-as-user="system"/>
>     </eca>
>
> </service-eca>
>
> Modified: ofbiz/trunk/applications/product/servicedef/secas_olap.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/secas_olap.xml?rev=965332&r1=965331&r2=965332&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/servicedef/secas_olap.xml (original)
> +++ ofbiz/trunk/applications/product/servicedef/secas_olap.xml Mon Jul 19 00:13:06 2010
> @@ -23,9 +23,9 @@ under the License.
>
>     <!-- dimension entities -->
>     <eca service="createProduct" event="commit">
> -        <action service="loadType1ProductInProductDimension" mode="sync"/>
> +        <action service="loadType1ProductInProductDimension" mode="async"/>
>     </eca>
>     <eca service="updateProduct" event="commit">
> -        <action service="loadType2ProductInProductDimension" mode="sync"/>
> +        <action service="loadType2ProductInProductDimension" mode="async"/>
>     </eca>
> </service-eca>
>
>