Commit a229febc authored by Łukasz Nowak's avatar Łukasz Nowak

Also consider building ones.

parent 92f39b78
...@@ -56,7 +56,7 @@ activate_kw = {\n ...@@ -56,7 +56,7 @@ activate_kw = {\n
}\n }\n
portal.portal_catalog.searchAndActivate(\n portal.portal_catalog.searchAndActivate(\n
portal_type=portal.getPortalDeliveryTypeList(),\n portal_type=portal.getPortalDeliveryTypeList(),\n
causality_state=\'calculating\',\n causality_state=(\'building\', \'calculating\'),\n
activate_kw=activate_kw,\n activate_kw=activate_kw,\n
packet_size=1, # Separate calls to many transactions\n packet_size=1, # Separate calls to many transactions\n
method_id=\'Delivery_updateCausalityState\'\n method_id=\'Delivery_updateCausalityState\'\n
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>delivery = context\n <value> <string>delivery = context\n
if delivery.getCausalityState() != \'calculating\':\n if delivery.getCausalityState() not in (\'building\', \'calculating\'):\n
return\n return\n
\n \n
if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n
......
426 427
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment