Commit a663d3f5 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Meaningless to remove ZODB Components migrated from FS.

This will not work when there are several nodes anyway, so just display a
message to the user instead.
......@@ -71,7 +71,7 @@ if failed_import_dict:\n
\n
message = "The following component could not be imported: " + \', \'.join(failed_import_formatted_list)\n
else:\n
message = "All components were successfully imported from filesystem to ZODB."\n
message = "All components were successfully imported from filesystem to ZODB. You can now delete them from your instance home."\n
\n
return context.Base_redirect(\'view\',\n
keep_items={\'portal_status_message\': message})\n
......
2013-06-24 arnaud.fontaine
* Meaningless to remove ZODB Components migrated from FS. This will not work when there are several nodes anyway, so just display a message to the user.
2013-06-19 arnaud.fontaine
* Add 'does' to the closed-class words list in naming convention checking script.
......
41109
\ No newline at end of file
41110
\ No newline at end of file
......@@ -383,7 +383,4 @@ class ComponentMixin(PropertyRecordableMixin, Base):
# straightaway as there should be no error
new_component.validate()
# Remove now useless Component on filesystem
os.remove(path)
return new_component
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