Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12881

Automatic content types do not use anymore "application" as default i18n catalog

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.10.4, 4.11.0
    • None
    • None
    • None
    • 4.11M3
    • Oui

      Since the CMS-11539, the default catalog for overridden content types (defined in WEB-INF/param/content-types/_overrides) now corresponds to the plugin of the original declaration.

      However, this change has also affected automatic content types defined in WEB-INF/param/content-types/[PLUGIN_NAME]: the default catalog is now `[PLUGIN_NAME]` instead of "application," and this change was not flagged by any migration process.

      Consequently, all automatic content types located in WEB-INF/param/content-types/web/***.xml that do not explicitly specify an i18n catalog are now left without translations.

      Furthermore, the #getDefaultCatalog method on a content type is no longer used at all. It should either be removed or restored to proper functionality.

       

       

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: