mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM Bugs:
- Images not showing in search results - Undeclared saved search showing record folders - Records eligable for destruction saved search is showing already ghosted records - rma:transferring aspect added to objects being transferred - Records eligable for transfer saved search is showing transferring and transfered records - Grandle explodedDeploy target updated to copy 'web' source git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -104,7 +104,7 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
||||
// Get the root rm node
|
||||
NodeRef root = this.recordsManagementService.getFilePlan(dispositionLifeCycleNodeRef);
|
||||
|
||||
// Get the hold object
|
||||
// Get the transfer object
|
||||
NodeRef transferNodeRef = (NodeRef)AlfrescoTransactionSupport.getResource(KEY_TRANSFER_NODEREF);
|
||||
if (transferNodeRef == null)
|
||||
{
|
||||
@@ -139,7 +139,7 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
||||
AlfrescoTransactionSupport.bindResource(KEY_TRANSFER_NODEREF, transferNodeRef);
|
||||
}
|
||||
|
||||
// Link the record to the hold
|
||||
// Link the record to the trasnfer object
|
||||
this.nodeService.addChild(transferNodeRef,
|
||||
dispositionLifeCycleNodeRef,
|
||||
ASSOC_TRANSFERRED,
|
||||
@@ -148,6 +148,9 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
||||
// Set PDF indicator flag
|
||||
setPDFIndicationFlag(transferNodeRef, dispositionLifeCycleNodeRef);
|
||||
|
||||
// Set the transferring indicator aspect
|
||||
nodeService.addAspect(dispositionLifeCycleNodeRef, ASPECT_TRANSFERRING, null);
|
||||
|
||||
// Set the return value of the action
|
||||
action.setParameterValue(ActionExecuter.PARAM_RESULT, transferNodeRef);
|
||||
}
|
||||
|
@@ -116,6 +116,9 @@ public class TransferCompleteAction extends RMActionExecuterAbstractBase
|
||||
nodeService.setProperty(da.getNodeRef(), PROP_DISPOSITION_ACTION_COMPLETED_BY, AuthenticationUtil.getRunAsUser());
|
||||
}
|
||||
|
||||
// Remove the transferring indicator aspect
|
||||
nodeService.removeAspect(nodeRef, ASPECT_TRANSFERRING);
|
||||
|
||||
// Determine which marker aspect to use
|
||||
QName markerAspectQName = null;
|
||||
if (accessionIndicator == true)
|
||||
|
@@ -188,6 +188,9 @@ public interface RecordsManagementModel extends RecordsManagementCustomModel
|
||||
public static final QName PROP_TRANSFER_LOCATION = QName.createQName(RM_URI, "transferLocation");
|
||||
public static final QName ASSOC_TRANSFERRED = QName.createQName(RM_URI, "transferred");
|
||||
|
||||
// Transferring aspect
|
||||
public static final QName ASPECT_TRANSFERRING = QName.createQName(RM_URI, "transferring");
|
||||
|
||||
// Versioned record aspect
|
||||
public static final QName ASPECT_VERSIONED_RECORD = QName.createQName(RM_URI, "versionedRecord");
|
||||
|
||||
|
Reference in New Issue
Block a user