Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-830

Check the AbstractMethodError from isAvailable method in NorsuTemplateAssignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 6.3.0
    • None
    • None
    • None

      Current implementation of the NorsuTemplateAssignment.isAvailable method catches the AbstractMethodError and if so it returns false.

      Check if the AbstractMethodError is really needed in this place.

      NorsuTemplateAssignment is only instantiated in the pages-app (norsu variant), otherwise the default implementation (info.magnolia.rendering.template.assignment.MetaDataBasedTemplateDefinitionAssignment) is being used.

      TemplateAvailability is widely used (not only site module) , see attachment.
      SiteAwareTemplateAvailability is a singleton, see if this can cause trouble since we need to support both the jcr and the norsu at the same time

        Acceptance criteria

              aichimescu Andrei Ichimescu
              aichimescu Andrei Ichimescu
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD