Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20768

The navigation menu will display translated pages even if they are hidden

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.10.6
    • Panels
    • None
    • Unknown

    Description

      Steps to reproduce :

      • Start with a blank wiki in version 14.10.6
      • In the administration > Localization, set the wiki to be in French : only put "French" as a supported language, and set the default language to French
      • In the administration > Navigation menu, make sure to display the "Bac à Sable" / Sandbox page in the menu (this will help later on)

      Go in http://localhost:8080/xwiki/bin/view/Sandbox/TestPage2 ; mark the page as "hidden" ; go back on the home page of the wiki, observe that the page "TestPage2" has disappeared from the navigation menu.

      Go in http://localhost:8080/xwiki/bin/view/Sandbox/TestPage1 ; mark the page as "hidden" ; go back on the home page of the wiki, observe that the page "TestPage1" is still visible from the navigation menu.

      In order to fix this issue (make TestPage1 hidden), you will need to change the localization of XWiki to English (in order to edit the page in english), then edit the page, and set the "hidden" bit on the english version of the page.

      The TestPage1 is a page which has multiple translations. When marking it as hidden, we actually set the "hidden" bit on the translated document, and not on the default document.

      Attachments

        Activity

          People

            Unassigned Unassigned
            caubin Clément Aubin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: