mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
After reject, version record indicator still present
* Relates to RM-1776: Can't upload new recorded version to rejected document that has recorded versions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1371,7 +1371,8 @@ public class RecordServiceImpl extends BaseBehaviourBean
|
||||
final Set<QName> aspects = nodeService.getAspects(nodeRef);
|
||||
for (QName aspect : aspects)
|
||||
{
|
||||
if (RM_URI.equals(aspect.getNamespaceURI()))
|
||||
if (RM_URI.equals(aspect.getNamespaceURI()) ||
|
||||
RecordableVersionModel.RMV_URI.equals(aspect.getNamespaceURI()))
|
||||
{
|
||||
nodeService.removeAspect(nodeRef, aspect);
|
||||
}
|
||||
|
Reference in New Issue
Block a user