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:
@@ -483,12 +483,15 @@ public class CategoriesDialog extends BaseDialogBean implements IContextListener
|
||||
this.setCurrentCategory(handler.nodeRef);
|
||||
}
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
handler = new CategoryBreadcrumbHandler(
|
||||
if (getCategory() != null)
|
||||
{
|
||||
handler = new CategoryBreadcrumbHandler(
|
||||
getCategory().getNodeRef(), Repository.getNameForNode(getNodeService(), getCategory().getNodeRef()));
|
||||
location.set(location.size() - 1, handler);
|
||||
this.setCurrentCategory(handler.nodeRef);
|
||||
location.set(location.size() - 1, handler);
|
||||
this.setCurrentCategory(handler.nodeRef);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user