DOD Recert: Disposition date is now correctly calculated with taken from last disposition action date.

* TC 8-2 multi stage disposition now works as expected



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/DODRECERT@50978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-06-13 07:20:49 +00:00
parent 93e343877e
commit 6221898e61

View File

@@ -496,7 +496,8 @@ public abstract class RMActionExecuterAbstractBase extends ActionExecuterAbstra
// Get the period properties value
QName periodProperty = nextDispositionActionDefinition.getPeriodProperty();
if (periodProperty != null)
if (periodProperty != null &&
RecordsManagementModel.PROP_DISPOSITION_AS_OF.equals(periodProperty) == false)
{
// doesn't matter if the period property isn't set ... the asOfDate will get updated later
// when the value of the period property is set