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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0-milestone-2
    • 4.5
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: