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

templating: Registration of Directives does not work

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: