Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4151 templating: new directives
  3. MAGNOLIA-4171

templating: Registration of Directives does not work

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.5
    • None
    • None
    • None

      When trying to register the new Directives we get the following Content2Bean Exception:
      ERROR olia.content2bean.impl.Content2BeanTransformerImpl: Can't set property [sharedVariables] to value ...

      It looks like for any reason the wrong FreemarkerConfig#addSharedVariable is called (not the one with params String, Object but with String, TemplateModel.

      This already happens in 4.4 branch so it's actually not clear what change introduced it.

            dlipp Daniel Lipp
            dlipp Daniel Lipp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: