Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/+ajax_marker.internal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add 6.2 upgrade for the IClassicUISchema control panel and the use_ajax_main_template registry entry.
6 changes: 6 additions & 0 deletions src/plone/app/upgrade/v62/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
i18n_domain="plone"
>

<include file="profiles.zcml" />

<gs:upgradeSteps
profile="Products.CMFPlone:plone"
source="6199"
Expand All @@ -15,6 +17,10 @@
handler="..v61.final.make_external_editor_action_condition_safer"
/>

<gs:upgradeDepends
title="Register IClassicUISchema control panel."
import_profile="plone.app.upgrade.v62:to_iclassicuischema"
/>
</gs:upgradeSteps>

</configure>
15 changes: 15 additions & 0 deletions src/plone/app/upgrade/v62/profiles.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="plone"
>

<genericsetup:registerProfile
name="to_iclassicuischema"
title="Reregister IClassicUISchema for new records"
provides="Products.GenericSetup.interfaces.EXTENSION"
for="plone.base.interfaces.IMigratingPloneSiteRoot"
directory="profiles/to_iclassicuischema"
/>

</configure>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<registry>
<records interface="plone.base.interfaces.IClassicUISchema"
prefix="plone"
/>
</registry>