XWiki Platform
  1. XWiki Platform
  2. XWIKI-11855

The database isn't considered empty when installing the UI with DW

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Unzip http://download.forge.ow2.org/xwiki/xwiki-enterprise-jetty-hsqldb-6.2.6.zip
      2. Delete the "data" folder
      3. Start XWiki -> you get the DW
      4. Click Continue
      5. On Step 1 of DW you get this message:
        Are you performing an upgrade? There are currently 4 documents in the database which indicates this is not a new install. Unfortunately we couldn't determine what version of the user interface was previously installed, most probably because you are upgrading from an old version that didn't have the distribution manager available.

      even if the database should be empty.

        Issue Links

          Activity

          Hide
          Thomas Mortagne added a comment - - edited

          I believe the issue here is the new mandatory document added in XWIKI-11750 which is not expected by the DW (it looks at the number of non-class documents it can find and above 3 consider the wiki is not empty, this should really be refactored to check if those document are mandatory document...).

          Show
          Thomas Mortagne added a comment - - edited I believe the issue here is the new mandatory document added in XWIKI-11750 which is not expected by the DW (it looks at the number of non-class documents it can find and above 3 consider the wiki is not empty, this should really be refactored to check if those document are mandatory document...).
          Hide
          Guillaume Delhumeau added a comment -

          Thomas did all the job actually.

          Show
          Guillaume Delhumeau added a comment - Thomas did all the job actually.

            People

            • Assignee:
              Guillaume Delhumeau
              Reporter:
              Manuel Smeria
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: