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

Check the AbstractMethodError from isAvailable method in NorsuTemplateAssignment

    XMLWordPrintable

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD