mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Removing custom view from space using web client also removes webscriptable aspect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -682,6 +682,7 @@ public abstract class BaseDetailsBean
|
||||
// clear template property
|
||||
this.nodeService.setProperty(getNode().getNodeRef(), ContentModel.PROP_TEMPLATE, null);
|
||||
this.nodeService.removeAspect(getNode().getNodeRef(), ContentModel.ASPECT_TEMPLATABLE);
|
||||
this.nodeService.removeAspect(getNode().getNodeRef(), ContentModel.ASPECT_WEBSCRIPTABLE);
|
||||
|
||||
// reset node details for next refresh of details page
|
||||
getNode().reset();
|
||||
|
Reference in New Issue
Block a user