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

NullPointerException thrown to PageEditor when class configured for contextAttribute is not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4
    • 5.4
    • rendering

      This could happen to a user if for example they install a module which installs a contextAttribute in the configuration @ /modules/rendering/renderers/freemarker/contextAttributes
      (Such as damfn).

      And then the user removes the module from the project.
      They only get a totally cryptic NullPointerException on every page render.

      Expected Fix:
      Page should render as normal (as long as they dont try to use the contextAttribute of course) and useful error written to log.

      Please see branch on MAIN: 'MAGNOLIA-6055-clz'.

        Acceptance criteria

              pmundt Philip Mundt
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD