mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-11490 - It is impossible to rename or delete a root category.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -484,6 +484,8 @@ public class CategoriesDialog extends BaseDialogBean implements IContextListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (getCategory() != null)
|
||||||
{
|
{
|
||||||
handler = new CategoryBreadcrumbHandler(
|
handler = new CategoryBreadcrumbHandler(
|
||||||
getCategory().getNodeRef(), Repository.getNameForNode(getNodeService(), getCategory().getNodeRef()));
|
getCategory().getNodeRef(), Repository.getNameForNode(getNodeService(), getCategory().getNodeRef()));
|
||||||
@@ -491,6 +493,7 @@ public class CategoriesDialog extends BaseDialogBean implements IContextListener
|
|||||||
this.setCurrentCategory(handler.nodeRef);
|
this.setCurrentCategory(handler.nodeRef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String finishImpl(FacesContext context, String outcome) throws Exception
|
protected String finishImpl(FacesContext context, String outcome) throws Exception
|
||||||
|
Reference in New Issue
Block a user