Merge branch 'hotfix-2.5/MNT-20700_backportFix' into 'release/V2.5.3.x'

Back-port fix from MNT-19967

See merge request records-management/records-management!1204
This commit is contained in:
Roxana Lucanu
2019-07-05 12:54:42 +01:00

View File

@@ -348,9 +348,6 @@ public class DispositionServiceImpl extends ServiceBaseImpl
return ds;
}
/**
* This method returns a NodeRef
* Gets the disposition instructions
@@ -383,7 +380,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
NodeRef result = getAssociatedDispositionScheduleImpl(parent);
if (result == null)
{
return null;
return getOriginDispositionSchedule(parent);
}
return new DispositionScheduleImpl(serviceRegistry, nodeService, result);
}