[MGNLPN-355] Re-publishing original page deletes it's variants from public instance Created: 06/Dec/16  Updated: 07/May/19  Resolved: 17/Feb/17

Status: Closed
Project: Magnolia Personalization
Component/s: Integration
Affects Version/s: 1.3.2, 1.4.1
Fix Version/s: 1.3.3, 1.4.3

Type: Bug Priority: Major
Reporter: Sathyaprakash rao Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://demo.magnolia-cms.com


Issue Links:
causality
is causing MGNLPN-377 After upgrade publishing fails for ne... Closed
is causing MGNLPN-379 MigrateComponentVariantParentNodesTyp... Closed
is causing MGNLDEMO-210 Change component variants parent node... Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Date of First Response:
Visible to:
Joanna Aved
Sprint: Kromeriz 83
Story Points: 5

 Description   

Re-publishing original page deletes all variants from public instances: variant node will be there but without subnodes. Activation status remains "green" on Author instance Pages app.

To reproduce:

  • create a page and variant(s) for it,
  • publish the page and the variants
  • re-publish the original page
  • check the variant's activation status (will remain "activated")
  • check the page on Public instance (variant will not be there)


 Comments   
Comment by Roman Kovařík [ 08/Feb/17 ]

Caused by adding mgnl:variants nodeType to /modules/personalization-integration/commands/default/personalizationActivation@itemTypes because of component personalization.

Comment by Roman Kovařík [ 16/Feb/17 ]

Reverted from master, to be reintegrated after the 5.5.2 release.

Comment by Roman Kovařík [ 20/Feb/17 ]

Reintegrated.

Comment by Roman Kovařík [ 20/Feb/17 ]

For release notes:
parent node type of variant nodes has been changed from mgnl:variants to mgnl:componentVariants, e.g. the node /travel/main/0/variants.
The existing content in the website repository is migrated via an update task, but existing bootstrap files has to be updated to be able publish component variants.

Generated at Mon Feb 12 06:36:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.