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

Make sure wiki module API always return a descriptor for main wiki

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.1-milestone-2
    • Component/s: Wiki
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      It's possible to access the main wiki even when there is no descriptor document but in the code it makes it hard to handle the main wiki is a wiki that exist but does not have a descriptor sometimes.

      The best is to return a "virtual" descriptor for main wiki in the API when there is no descriptor document. That way it's always listed as existing wiki and you can always modify and save its descriptor without wondering first if there is really a descriptor already for that wiki.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: