Commit 9ab81455 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Migration must be all or nothing to avoid partial modifications of bt5 properties.

parent 97ea0232
...@@ -70,11 +70,14 @@ if failed_import_dict:\n ...@@ -70,11 +70,14 @@ if failed_import_dict:\n
failed_import_formatted_list.append("%s (%s)" % (name, error))\n failed_import_formatted_list.append("%s (%s)" % (name, error))\n
\n \n
message = "The following component could not be imported: " + \', \'.join(failed_import_formatted_list)\n message = "The following component could not be imported: " + \', \'.join(failed_import_formatted_list)\n
abort_transaction = True\n
else:\n else:\n
message = "All components were successfully imported from filesystem to ZODB. You can now delete them from your instance home."\n message = "All components were successfully imported from filesystem to ZODB. You can now delete them from your instance home."\n
abort_transaction=False\n
\n \n
return context.Base_redirect(\'view\',\n return context.Base_redirect(\'view\',\n
keep_items={\'portal_status_message\': message})\n keep_items={\'portal_status_message\': message},\n
abort_transaction=abort_transaction)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2013-06-25 arnaud.fontaine
* ZODB Components: Migration must be all or nothing to avoid partial modifications of bt5 properties.
2013-06-25 arnaud.fontaine 2013-06-25 arnaud.fontaine
* ZODB Components: Fix bootstrap of migrated bt5s. * ZODB Components: Fix bootstrap of migrated bt5s.
......
41100 41101
\ 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