[MGNLCMNT-29] Update Task 1.0.2 does not work on update from 1.0 to 1.1.2 Created: 12/Oct/10  Updated: 16/May/11  Resolved: 07/Dec/10

Status: Closed
Project: Commenting (closed)
Component/s: None
Affects Version/s: 1.1.2
Fix Version/s: 1.1.4, 1.2

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The update task:

register(DeltaBuilder.update("1.0.2", "Update latestComments paragraph")
                .addTask(new BootstrapSingleResource("Paragraph update", "Updates the latestComments paragraph.", "/mgnl-bootstrap/commenting/config.modules.forum.paragraphs.latestComments.xml", ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING))
            );

Does not work when updating directly from 1.0, because the bootstrap file:
/mgnl-bootstrap/commenting/config.modules.forum.paragraphs.latestComments.xml
doesn't exist anymore on the module. The file still exists in the 1.1 module version.
In 1.1.2 it was 'changed' (noe stk and not freemarker paragraph) to config.modules.commenting.paragraphs.latestComments.xml.

Workaround:Update first to 1.1 and then to 1.1.2.



 Comments   
Comment by Magnolia International [ 07/Dec/10 ]

Doesn't the fix need to be reapplied for 1.2 as well?
There's a big "TODO" in the Delta for 1.1.2, which probably indicates those tasks where not reviewed/tested.

Generated at Mon Feb 12 00:02:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.