Uploaded image for project: 'Magnolia RSS Aggregator Module'
  1. Magnolia RSS Aggregator Module
  2. MGNLRSSAGG-53

Bootstrap and mgnl-files folder not getting updated as part of delta-updates on new deploy. This leads to files not getting copied into docroot correctly and ftl(s) referring to RSS Icons endup with broken links to gif.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.2.2, 1.3
    • 1.2.1
    • None
    • ubuntu 11.11, apache-tomcat 6.x

      The general root cause of this problem is that when doing a redeploy of web-application, without clearing down the DB, it is expected that the mgnl-files folder expansion task is re-executed and files are copied back into the cleared folder. However, it seems that ModuleManagerImpl's checkForInstallOrUpdates excludes all delta tasks for any module which hasn't had a version change on redeploy. Problem is specifically with the docroot folder which results in broken references to any resources not created post redeploy. This is not good because this means we cannot be sure the updates made to module are going through and consistent.

      Specifically w.r.t the RSS Aggregator module, the problem is that it has resources such has images (gifs) when changed or missing in the original deploy are not getting updated on redeploy. In order to avoid this issue, we think these should be moved into mgnl-resources instead (as most other resources are expected there by convention).

      I'm attaching the patch that does the above with this report.

        Acceptance criteria

              ochytil Ondrej Chytil
              rgibson Rory Gibson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD