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

Schemas (instantly) created just after typing Pretty Name prevents subwiki creation on PostgreSQL 11

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 11.5-rc-1
    • Fix Version/s: 11.5
    • Component/s: None
    • Environment:
      Windows 10 Pro 64 bit, Firefox 67, using a local instance of XWiki 11.5RC1 on PostgreSQL 11
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Configure and create a XWiki 11.5RC1 instance with PostgreSQL 11
      2. Go to Wiki Index
      3. Click 'Create Wiki'
      4. Type a Pretty Name for the new subwiki (e.g. subwikiglobal)
      5. Select Standard Flavor (or click somewhere on the page)

      EXPECTED RESULTS

      After the name of the subwiki (and identifier, which is filled automatically) are chosen, the subwiki is ready to be created.

      ACTUAL RESULTS

      The 'Next Step' button is disabled. Under 'Wiki Identifier' section, the following message is displayed:

      A database with this identifier already exists

      On PgAdmin (v4.8), under 'xwiki > Schemas' the 'subwikiglobal' is already created (instead of being created when clicking 'Next Step > Create'). If another subwiki Pretty Name is typed, its schema is automatically (instant) created as well, thus preventing subwikis creation.

      The issue could not be reproduced in XWiki 11.4

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: