Already in the Product
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Mateo HermosínMateo HermosínReporter
Vitaliy KoshelenkoVitaliy KoshelenkoComponents
Priority
Low
Details
Details
Assignee
Mateo Hermosín
Mateo HermosínReporter
Vitaliy Koshelenko
Vitaliy KoshelenkoComponents
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created August 31, 2022 at 11:35 AM
Updated March 26, 2024 at 6:52 PM
Resolved April 13, 2023 at 12:27 AM
Summary: As a user of Bundle Site Initializer I want to update content on sites (created from site initializer) after new changes in the site initializer module are deployed.
Description:
Currently BundleSiteInitializer has only addXXX methods, and is able to create content only during the initial site creation. If any changes are made in the site initialization logic - we need to re-created the site again.
The idea is to make BundleSiteInitializer work as a regular site template: if any changes are made to the template - they can be propagated to sites, created from the template.
Once site is created from initializer - we can save a reference to the initializer instance. Next time initializer module is deployed - we can find the sites created from initializer (using stored reference), and updated content in these sites automatically (based on updated content descriptor files).
Also, we can define different strategies for content update (e.g. CREATE_AS_NEW / OVERRIDE / DELETE_MISSING_CONTENT / etc) - globally and on individual site level.
Slack discussion link: https://liferay-community.slack.com/archives/C5H30KZ1A/p1662032752646039
Related Blog: https://liferay.dev/blogs/-/blogs/introducing-site-initializers