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

WarnTasks regarding deprecated content in web.xml should not be executed when *installing* core, only when updating

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5 RC1
    • 3.1 M3
    • core, updatemechanism
    • None

      While doing a clean bootstrap of the current trunk I get the following warning, although I am not updating an older version:

      WARN info.magnolia.module.InstallContextImpl.warn(InstallContextImpl.java:53) > CacheGeneratorServlet has been removed in Magnolia 3.1: please remove the corresponding <servlet> and <servlet-mapping> elements in your web.xml file.
      WARN info.magnolia.module.InstallContextImpl.warn(InstallContextImpl.java:53) > MagnoliaManagedFilter was renamed to MagnoliaMainFilter: please update the corresponding <filter-class> element in your web.xml file.

      Those are now unconditionally added in info.magnolia.setup.CoreModuleVersionHandler, instead the in the deprecated classes as before. They should be conditional

        Acceptance criteria

              gjoseph Magnolia International
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: