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

Instantiation of inner classes FilteredInheritancePredicate and InheritancePredicate in ConfiguredInheritance fails

XMLWordPrintable

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

      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)

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD