Merged V2.2 to HEAD

8110: Fix for AWC-1664
  8112: Fix for AWC-1697

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2008-03-11 10:37:36 +00:00
parent b0d3cd68b6
commit 14043b0071
2 changed files with 12 additions and 5 deletions

View File

@@ -135,7 +135,8 @@ public class CreateSpaceWizard extends BaseWizardBean
{
this.spaceType = this.getNodeService().getType(this.existingSpaceId).toString();
}
else if (this.createFrom.equals(CREATEFROM_TEMPLATE) && this.templateSpaceId != null)
else if (this.createFrom.equals(CREATEFROM_TEMPLATE) && this.templateSpaceId != null &&
!this.templateSpaceId.equals("none"))
{
NodeRef templateNode = new NodeRef(Repository.getStoreRef(), this.templateSpaceId);
this.spaceType = this.getNodeService().getType(templateNode).toString();