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

Instantiation of inner classes FilteredInheritancePredicate and InheritancePredicate in ConfiguredInheritance fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.3.6
    • 5.3.5
    • None
    • None

    Description

      To reproduce:

      • install shop
      • free marker error on shop home page
         
        Proxy class cannot extend info.magnolia.rendering.template.configured.ConfiguredInheritance$FilteredInheritancePredicate, because it has no visible "default" constructor.
        
      • Be careful - you need to solve problem with non static nodeTypes!
      1. Deprecate functions introduced by MAGNOLIA-4516.
      2. Inheritance could be ideally configured under /modules/rendering/renderers/freemarker/contextAttributes/cmsfn instead of per call of TemplatingFunctions (not straightforward)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                efochr Evzen Fochr
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD