Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-2090

Creating a workspace sometimes fails halfway through process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.18.12, 2.22.0
    • 2.18.6
    • None
    • None
    • 4.11M1
    • Oui

      Bug:  Misconfigured workspace sites sometimes appear in the Sites section of the back-office admin interface.

      The return value of method createSite is not checked for error codes:

      Map<String, Object> result = _siteDao.createSite(rootId, initialSiteName, ProjectWorkspaceSiteType.TYPE_ID, true);

      If workspace creation fails midway, it would seem the rest of the site creation still goes ahead resulting in a misconfigured site with no workspace attached.

      Expected behaviour: Check result for errors before continuing. If creation fails, prevent the workspace and site creation.

            laurence Laurence Aumeunier
            jhawken James Hawken
            Laurence Aumeunier Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: