Uploaded image for project: 'Commenting (closed)'
  1. Commenting (closed)
  2. MGNLCMNT-29

Update Task 1.0.2 does not work on update from 1.0 to 1.1.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.4, 1.2
    • 1.1.2
    • None
    • None

      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.

        Acceptance criteria

              ochytil Ondrej Chytil
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: