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

Possible missing and duplicated wikis in the wiki index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 10.11.1, 11.0
    • 10.8.1, 10.11
    • Wiki
    • docker image xwiki:10.11-postgres-tomcat, Standard vanilla Installation
    • Unknown
    • N/A
    • N/A

    Description

      See attached screenshots and gifs.

      1. Create subwikis "sub1" and "sub2", all default settings.
      2. Edit "subwiki1" in Wikimanager of Main Wiki
      3. Add an Alias "foobar"
        The URL of the alias does not point to subwiki 1 but rather the Main Wiki (subwiki-alias-links.png)
      4. Go back to WikiManager:
        Wiki sub2 is now missing. Main is listed twice (sub2-gone.png)
      5. sub2 is still accessible via /wiki/sub2/
      6. The alias "foobar" does not work:
        /wiki/foobar/ links to the main wiki
        as apperently does any 404 link like /wiki/doesNotExist too

      This same behavior does occur if you define an Alias on the Main wiki.

      Bonus Question: why would you need an Alias for the Main Wiki?
      It is addressed via /bin/view/Main/ ? Or is this exclusively useful for Domain-based wiki access ?

      Attachments

        1. 1-create-subwikis.gif
          124 kB
          Mario (AutomationX)
        2. 2-add-alias.gif
          93 kB
          Mario (AutomationX)
        3. sub2-gone.png
          18 kB
          Mario (AutomationX)
        4. subwiki-alias-links.png
          29 kB
          Mario (AutomationX)

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              AutomationX Mario (AutomationX)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: