GenericSetup profiles#
plonegovbr.socialmedia ships three profiles.
Profile |
Title |
Applied by |
|---|---|---|
|
Social Media support for Plone: Install |
Installing the add-on |
|
Social Media support for Plone: Demo content |
The integrator, explicitly |
|
Social Media support for Plone: Uninstall |
Uninstalling the add-on |
The package declares a plone.autoinclude.plugin entry point with the target plone, so Plone loads its ZCML without an <include />.
Upgrade steps#
The upgrade steps belong to the plonegovbr.socialmedia:default profile.
Source |
Destination |
Title |
|---|---|---|
|
|
Add the |
1000 to 1001#
The handler plonegovbr.socialmedia.upgrades.v1001.add_social_links_column does the following, in order.
Re-imports the
catalogstep of thedefaultprofile, which adds thesocial_linksmetadata column, empty.Raises a
ValueErrorwhen the column is still missing.Catalogues again every object providing
ISocialMediaorISocialLinks, the interfaces that mark content with either behavior. For each object, the catalog rewrites its metadata, and reindexes thegetIdindex alone.
The site root is one of those objects. The step takes time in proportion to the number of objects with either behavior, not to the size of the site.