Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7735

Magnolia won't start if .yaml export files are put in 'bootstrap' directory

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 6.2.4
    • 6.1.4
    • None
    • None
    • Yes
    • HL & LD 12, HL & LD 13
    • 3

      If .yaml files exported from Magnolia are put in a 'bootstrap' directory - such as '/apache-tomcat/webapps/magnoliaAuthor/WEB-INF/bootstrap/author' - then adminCentral is not reachable.

      When you enter the url to log in (http://localhost:8080/magnoliaAuthor/.magnolia/admincentral), then you are instead forwarded to http://localhost:8080/magnoliaAuthor/.magnolia/installer which shows a tomcat 500 error message, with the first line of "java.lang.IllegalStateException: This implementation of ModuleManagerUI is only meant to be used at startup."

       

      Checking the catalina output - you see a message like "

      UUID already exists: bed25be3-378f-4f80-9140-a7302e045732)

      java.lang.RuntimeException: Error importing /Users/cz/Documents/a-projects/testing/spa-editor-pd/work/apache-tomcat/webapps/magnoliaAuthor/WEB-INF/bootstrap/common/category.tour-types.yaml: A node with this UUID already exists: bed25be3-378f-4f80-9140-a7302e045732"

      But it is incorrect - that ID does not exist already.


      Rather than causing Magnolia not to start, exported yaml files should be imported into JCR just as an exported xml file is.

        Acceptance criteria

              rsiska Robert Šiška
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5d
                    0.5d