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

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD