Added tagById validation if node is a tag

This commit is contained in:
suneet.gupta
2023-02-08 18:13:37 +05:30
parent c8c6572112
commit adcf1c526e

View File

@@ -199,11 +199,6 @@ 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;
}