Commit c601090d authored by Sebastien Robin's avatar Sebastien Robin

commit last changes


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5925 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8468b60b
...@@ -100,7 +100,9 @@ ...@@ -100,7 +100,9 @@
<item> <item>
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list/> <list>
<string>my_domain_generator_method_id</string>
</list>
</value> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -247,9 +247,9 @@ try:\n ...@@ -247,9 +247,9 @@ try:\n
\n \n
# Maybe we should build a list of objects we need\n # Maybe we should build a list of objects we need\n
# Update basic attributes\n # Update basic attributes\n
context.edit(REQUEST=request,**kw)\n
for encapsulated_editor in encapsulated_editor_list:\n for encapsulated_editor in encapsulated_editor_list:\n
encapsulated_editor.edit(context)\n encapsulated_editor.edit(context)\n
context.edit(REQUEST=request,**kw)\n
\n \n
except FormValidationError, validation_errors:\n except FormValidationError, validation_errors:\n
# Pack errors into the request\n # Pack errors into the request\n
......
...@@ -97,6 +97,12 @@ context.portal_trash.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id ...@@ -97,6 +97,12 @@ context.portal_trash.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id
for o in list(context.portal_trash.objectValues()):\n for o in list(context.portal_trash.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
\n \n
# Next we index domains\n
print "#### Indexing domains ####"\n
context.portal_domains.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
for o in list(context.portal_domains.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
\n
# Next we index applied rules\n # Next we index applied rules\n
print "#### Indexing applied rules ####"\n print "#### Indexing applied rules ####"\n
context.portal_rules.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n context.portal_rules.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
......
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