diff --git a/source/java/org/alfresco/web/bean/spaces/CreateSpaceWizard.java b/source/java/org/alfresco/web/bean/spaces/CreateSpaceWizard.java index 587cedafe0..a5f40ad73d 100644 --- a/source/java/org/alfresco/web/bean/spaces/CreateSpaceWizard.java +++ b/source/java/org/alfresco/web/bean/spaces/CreateSpaceWizard.java @@ -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(); diff --git a/source/web/jsp/content/document-details.jsp b/source/web/jsp/content/document-details.jsp index 33b25d1f91..3e6b172b7c 100644 --- a/source/web/jsp/content/document-details.jsp +++ b/source/web/jsp/content/document-details.jsp @@ -304,8 +304,11 @@
-