Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1004

Extras area deprecated code for "module"

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Obsolete
    • Neutral
    • 2.9
    • 2.0.2
    • templates
    • Kromeriz 47

    Description

      In info.magnolia.module.templatingkit.templates.ExtrasArea we provide a deprecated method called setModule(..). The problem with this method is that it silently allows wrong (old) structuring of the extras area. Right now if you want to enable the module part, you can do it in 2 ways: follow the correct structuring extras > areas > module or extras > module. This is confusing since this only works for the module and not for extras1 and 2.

      Instead of working silently, we should log a warning (or exception) that the configuration should be upgraded to the newest layout. Or let it still work, but add the warning/exception.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ndesmarais Natascha Desmarais
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: