Benutzerspezifische Werkzeuge

cloned_object_path workaround

erstellt von goeldi at 06.05.2009 13:04 |
Filed under: , ,

simple workaround to avoid this AttributeError

Problem definition in plonespeak: Due to a zope bug, folders that contain controller page templates throw a _cloned_object_path error when copied over.

Definition in zopespeak: When you want to copy and paste an existing plone site (folder) in the ZMI, you get an AttributeError: _cloned_object_path.

On the solution found here I did not understand what was meant with "controller page templates will need to be created first, then all of their contents copied over".

My simple workaround in ZMI goes this way:

  1. export the plone site you want to copy
  2. rename the original plone site
  3. import the previously exported plone site