[MGNLWORKFLOW-391] Migration from 6.1 -> 6.2: Bootstrap fails due to messageView descriptor location Created: 30/Apr/20  Updated: 12/Jul/21  Resolved: 03/Jun/20

Status: Closed
Project: Magnolia Workflow Module
Component/s: Pages Integration
Affects Version/s: 6.0
Fix Version/s: 6.0.1

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0.05d
Time Spent: 3.55h
Original Estimate: Not Specified

Attachments: XML File 615exclusions_DXnoPersonalization.xml     XML File 62exclusions_DXnoPersonalization.xml    
Issue Links:
Relates
relation
is related to WORKFLOWEX-2 Pages message view changed locations Closed
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
Date of First Response:
Epic Link: Migrate apps to new UI framework
Sprint: UI FW 3
Story Points: 3

 Description   

Steps to reproduce
1. Set up a Magnolia instance version 6.1.5. You will need to exclude personalization related modules, see 615exclusions_DXnoPersonalization.xml
2. Migrate to 6.2, some more modules related to personalization will need to be excluded. See 62exclusions_DXnoPersonalization.xml
3. Start the instance to proceed with the migration.

Expected results

The migration process ends without issues

Actual results

There is an exception and the instance is not properly migrated:

020-04-30 11:40:53,690 ERROR info.magnolia.module.InstallContextImpl           : [163/312 tasks - Magnolia Workflow Pages Integration Module (version 6.0.0)]> Error while installing or updating workflow-pages module. Task 'Bootstrap' failed. (ItemExistsException: a node with uuid 0d74c8b7-6660-4bac-b027-2538fd46aabf already exists!)
java.lang.RuntimeException: java.lang.RuntimeException: Error importing /mgnl-bootstrap/workflow-pages/config.modules.pages-app.messageViews.xml: a node with uuid 0d74c8b7-6660-4bac-b027-2538fd46aabf already exists!

Workaround

Remove conflicted config node before migrating.

Development notes

It seems related to pages app. If we check the configuration in 6.1.5 and look that concrete UUID we will see that it is associated to path /modules/pages/messageViews.
So it seems that some of the excluded modules is moving or deleting this configuration. Theorically, this configuration should not be related to personalization.


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