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

getVirtualWikisDatabaseNames does not include the main wiki when it has no descriptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.0-milestone-2
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Currently, if no descriptor exists for the main wiki, it will not be included in the result of XWiki.getVirtualWikisDatabaseNames(context).

      A quick fix for this would be to verify the list before returning and adding the main wiki name if it is not already there.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: