mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Added tagById validation if node is a tag
This commit is contained in:
@@ -199,6 +199,11 @@ public class TagsImpl implements Tags
|
||||
{
|
||||
throw new EntityNotFoundException(tagId);
|
||||
}
|
||||
String tag = taggingService.getTagName(tagNodeRef);
|
||||
if(!taggingService.isTag(storeRef,tag))
|
||||
{
|
||||
throw new EntityNotFoundException(tagId);
|
||||
}
|
||||
return tagNodeRef;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user