mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
MNT-19967 Get record disposition schedule from first parent category which has one
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user