Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-189

Add backward compatibility for sites

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.0
    • 3.0.0
    • Yes

      In 6.3, sites were upgrade to a conventional definition registry.

      The site definitions are thus loaded in YAML from light-modules, under <module-name>/sites path (see here).

      To ensure a smooth upgrade from 6.2, let's add backward-compatibility loading sites from the previous multisite location in JCR, under multisite/config/sites as it was until 6.2.

      Previous description

      via oanh.thai

      Create ready-to-use fallback site (programmatically) if there is no available site

      Complementarily, in 6.3 dx-core-webapp without installing demo-travel module that includes fallback site. So there is no way to use page-editor app without fallback site.

      Ex: See more problem reported in when using dx-core-test-webapp.

      https://magnolia-cms.slack.com/archives/C02RSFYAH6D/p1701229569335609

      In docu: we already mention that fallback is needed for multi site. See https://docs.magnolia-cms.com/product-docs/6.2/developing/templating/site-definition/how-to-use-multisite/fallback-site/#_choosing_a_fallback_site_definition

      Propose fallback yaml

      https://git.magnolia-cms.com/projects/PLATFORM/repos/dx-core/browse/integration-tests/magnolia-dx-core-test-fixture-module/src/main/resources/ee-test/sites/fallback.yaml

        Acceptance criteria

              ajuran Antonín Juran
              mgeljic Mikaël Geljić
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.5h
                    0.5h