Commit a3143ef8 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: reindex Compute Partition when changing aggregate on Software Instance

parent 30ee08a3
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Interaction Workflow Interaction" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>after_script/portal_workflow/slapos_cloud_interaction_workflow/script_SoftwareInstance_reindexComputePartition</string>
<string>before_script/portal_workflow/slapos_cloud_interaction_workflow/script_SoftwareInstance_reindexComputePartition</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This is needed to update the compute_partition catalog table.\n
\n
As there is no possibility to compare object state before and after transaction, it is safer to register reindexation for both cases.\n
\n
It will create duplicate activities, but only one for each will be fired.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>interaction_SoftwareInstance_setAggregateList</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Interaction Workflow Interaction</string> </value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
<tuple>
<string>Software Instance</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type_group_filter</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Reindexes before and after list of compute partition</string> </value>
</item>
<item>
<key> <string>trigger_method_id</string> </key>
<value>
<tuple>
<string>_setAggregate.*</string>
</tuple>
</value>
</item>
<item>
<key> <string>trigger_once_per_transaction</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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