Commit fd7ce3a0 authored by Nicolas Dumazet's avatar Nicolas Dumazet

Do not index Temporary Documents.

Temp objects are created by getAggregatedAmountList, and might be of
Transformation Transformed Resource type: do not reindex the Product
in this case


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33895 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7ea4804
......@@ -48,7 +48,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<none/>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
......@@ -98,4 +98,38 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>expr</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: not here.isTempDocument()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
480
\ No newline at end of file
481
\ 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