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

Deprecation can't be applied at runtime

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.6.2
    • configuration
    • None

    Description

      Defnition is not reregistered when deprecation is added since its metadata has changed, see
      info.magnolia.config.registry.RegistryMap#canReregister
      which results in:

      2018-03-01 08:20:53,177 ERROR info.magnolia.config.registry.RegistryMap         : Can't register [template] definition [home] with reference id: [travel-demo:pages/home] from module [travel-demo] at [pages/home][template] definition [home] with reference id: [travel-demo:pages/home] from module [travel-demo] at [pages/home] which is deprecated [Since=5.6,Description=dewad] since a definition with the same id travel-demo:pages/home is already registered as [template] definition [home] with reference id: [travel-demo:pages/home] from module [travel-demo] at [pages/home][template] definition [home] with reference id: [travel-demo:pages/home] from module [travel-demo] at [pages/home] which is deprecated [Since=5.6,Description=dewad].
      

      This also means that the actual template is not replaced with new version.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR