mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +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);
|
final Set<QName> aspects = nodeService.getAspects(nodeRef);
|
||||||
for (QName aspect : aspects)
|
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);
|
nodeService.removeAspect(nodeRef, aspect);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user