Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4225

Home page2simple template switching on home page: cache not flushed and main menu disappear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • xCM 6.0.0
    • xCM 6.0
    • None
    • 24864

    Description

      I imported the prepackaged demo. Once the site fully validated I switch the home page template to the simple template with root.

      There are first some cache flushing issue after a template switching and caches are not correctly flushed.

      Then the main_menu disappeared and I could not access any more to any sub-pages. Switching back to the home page template (combined with a second cache flushning) make the content reappear again.

      So perhaps we should try to:

      • make menus compatible between all templates within a template set so that switching from one template to another does not suddently create orphean sub-pages because they are not displayed any more in the structure. for example if you switch the "Company" web page (simple" to a "Events" template all the sub-pages are "lost" as there are no left menu on such a template.
      • try to warn the users of "compliant templates". Perhaps we could detect when doing a template switching within the engine that the second selected template is not (fully) compliant with the first one and that some content will be temporarly hidden. This cause some search issue too as such content objects are still referenced in the index.

      Briefly speaking we should try to avoid having orphean pages or content because of a template switching and perhaps try to unindex content objects which are not rendered any more (possible to know it? possible to unindex content on template switching? What about sub-pages if the left menu disappear?)

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 6.0.0