Closed pbauer closed 2 years ago
This only applies to existing sites
Migration to Volto is only supported in Plone 6 (not backported)
Migration to Volto is not done automatically as a Plone Upgrade but a special step similar to migration from AT to DX.
A migrated site will basically still work in Plone Classic but behave different. Editors can only work with the Data using Volto.
We Provide one form (in plone.volto) that handles all migration-steps and shows documentation.
We disable Folders and only offer Document, News Item, Event and Link.
Maybe later also disable Links when https://github.com/plone/volto/issues/3303 is merged
Move Folderish classes from plone.volto to plone.app.contenttypes
Hide plone.volto from installable addons to prevent unintendet breaking changes. (We need to check if the interfaces in addons-controlpanel and createplonesite forms are different)
Show link to migration page after the last upgrade-step to Plone 6: After a Plone-Upgrade the success view will check if plone.volto is not installed and Plone-version is >=6.0. If yes then show additonal text and link to the Migration form.
Combine all Migration-Steps in one view/form (e.g. @@migrate_to_volto) in Plone Classic
Automatic Steps (non-optional)
Recommended options that can be disabled
Show Information:
When Migrating Folders with a defaultPage to FolderishDocument with the content of the default_page as blocks
Keep default page as content of the FolderishDocument and add a listing-block if...
The first version works fine with migrating existing sites to Volto. A funny issue we found is:
@@migrate_to_volto
is has FolderishDocuments with listing blocks instead.I'll change the default-content created in p.a.c to FolderishDocuments with listing blocks if plone.volto is installed (i.e. a Volto site is created).
Documentation: https://github.com/plone/documentation/pull/1254
We should:
plone.app.contenttypes.utils.migrate_base_class_to_new_class
)plone.volto.browser.migrate_richtext.migrate_richtext_to_slate
)