-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I am in a Plone 4 -> 6 migration and the source site contains a lot of objects that have blanks in there ids (no idea, if that is usually possible in Plone 4). In the export file they are encoded as %20
. E.g. "@id": "https://mysite.com/my%20object"
.
When reimporting in 6 I run into:
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 391, in publish_module
Module ZPublisher.WSGIPublisher, line 285, in publish
Module ZPublisher.mapply, line 98, in mapply
Module ZPublisher.WSGIPublisher, line 68, in call_object
Module collective.exportimport.import_content, line 215, in __call__
Module collective.exportimport.import_content, line 301, in do_import
Module collective.exportimport.import_content, line 472, in import_new_content
Module plone.dexterity.content, line 776, in manage_delObjects
Module plone.folder.ordered, line 68, in _getOb
AttributeError: 'my%20object'
could it be a good idea to replace the whitespaces with "-" on export?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested