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.
- discovered while testing
-
WORKSPACES-2097 Project creation : Clear the filled-in fields in the frame (title, themes ... )
-
- Open
-
- testing discovered
-
WORKSPACES-2094 "null" tooltip in case of error without details
-
- Available for review
-