You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mostly style guide stuff, but I added a clause to the final bullet point that needs review from @mauritsvanrees:
```
Add the `plone.app.discussion` package to your dependencies, and run the migration again.
```
Copy file name to clipboardExpand all lines: docs/backend/upgrading/version-specific-migration/upgrade-to-61.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,14 +105,15 @@ To enable discussion, you need to perform the following tasks.
105
105
1. Run pip to install `plone.app.discussion`.
106
106
1. Restart the Plone backend to load `plone.app.discussion`.
107
107
1. Enable the {guilabel}`Discussion Support` add-on in the {guilabel}`Add-ons` control panel under {menuselection}`Site Setup --> General`.
108
-
1. If you use Plone Classic UI, you can then use the {guilabel}`Discussion` control panel to further configure this feature, for example for enabling comment moderation.
108
+
1. If you use Plone Classic UI, you can then use the {guilabel}`Discussion` control panel to further configure this feature, for example, to enable comment moderation.
109
109
1. 🍻
110
110
111
-
If you have an existing Plone 5.2 or 6.0 site and you migrate to 6.1, then migration code handles the change:
111
+
If you have an existing Plone 5.2 or 6.0 site and you migrate to 6.1, then migration code handles the change as follows.
112
112
113
-
* If the `plone.app.discussion` Python package is in your setup, the migration does nothing: existing discussion configuration and comments remain unchanged.
114
-
* If the `plone.app.discussion` Python package is _not_ in your setup, and the site has no existing comments (discussions), then the migration code removes the Discussion configuration from your site.
115
-
Apparently you were _not_ using comments in your site, so the configuration is no longer needed.
116
-
* If the `plone.app.discussion` Python package is _not_ in your setup, but the site has existing comments (discussions), then the migration code stops with an error.
117
-
Apparently you _were_ using comments in your site.
118
-
Easiest solution here is to add the `plone.app.discussion` package to your dependencies.
113
+
- If the `plone.app.discussion` Python package is in your setup, the migration does nothing.
114
+
Existing discussion configuration and comments remain unchanged.
115
+
- If the `plone.app.discussion` Python package is _not_ in your setup, and the site has no existing comments (discussions), then the migration code removes the Discussion configuration from your site.
116
+
Apparently you were _not_ using comments in your site, so the configuration is no longer needed.
117
+
- If the `plone.app.discussion` Python package is _not_ in your setup, but the site has existing comments (discussions), then the migration code stops with an error.
118
+
Apparently you _were_ using comments in your site.
119
+
Add the `plone.app.discussion` package to your dependencies, and run the migration again.
0 commit comments