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

Addition of non-existent class in freemarker configuration will break AdminCentral

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Critical Critical
    • 4.4.5
    • None
    • None
    • None
    • CentOS

      The creation of node data called 'class' which points to a non-existent class will result in an unhandled FileNotFoundException within AdminCentral, resulting in the inability to access Magnolia.

      Steps to reproduce:
      WARNING: FOLLOWING THESE STEPS WILL RESULT IN THE MAGNOLIA INSTANCE BECOMING INACCESSIBLE. MANUAL MODIFICATION OF THE JCR WILL BE REQUIRED.

      1. Go to 'config:/server/rendering/freemarker/templateLoaders'.
      2. In this location, create a new content node called "file".
      3. In the newly created content node, create node data of type "String", giving it the name "class" and the value "info.magnolia.freemarker.loaders.nonexistentClass"

      From that point onwards, any attempt to access parts of AdminCentral or the web site it manages will result in unhandled exceptions.

        Acceptance criteria

              zdenekskodik Zdenek Skodik
              xbridge Frank Sattler
              Fei Phoon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD