Merged BRANCHES/V2.3 to HEAD:

114921: Merged BRANCHES/V2.2 to BRANCHES/V2.3:
        114258: RM-2522 : Select "Download Zip" (rm-download-zip) on RM Transfer Target inside RM Transfer view throws 400 Bad Request: Node is not fileplan
             - used isFilePlan method from FilePlanService instead of old check
        114917: Merged BRANCHES/V2.2.1.x to BRANCHES/V2.2:
             114437: Merged DEV to V2.2.1.x
                  114241: MNT-14900 : Alfresco doesn't work with Records Management
                     - Fixed problem with circular references during Spring dependency injection process
             114605: Reverse merged V2.2.1.x
                        <<< Need to use a different approach. >>>
                        Merged DEV to V2.2.1.x
                           114241: MNT-14900 : Alfresco doesn't work with Records Management
                              - Fixed problem with circular references during Spring dependency injection process
             114609: (RECORD ONLY) Update version to 2.2.1.3
             114687: (RECORD ONLY) Updated version to 2.2.1.3 and dependency.share.po.version to 4.2.5-SNAPSHOT in pom.xml files



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@114922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tom Page
2015-10-21 15:24:46 +00:00

View File

@@ -104,7 +104,7 @@ public abstract class BaseTransferWebScript extends StreamACP
} }
// ensure the node is a filePlan object // ensure the node is a filePlan object
if (!TYPE_FILE_PLAN.equals(this.nodeService.getType(filePlan))) if (!filePlanService.isFilePlan(filePlan))
{ {
status.setCode(HttpServletResponse.SC_BAD_REQUEST, status.setCode(HttpServletResponse.SC_BAD_REQUEST,
"Node " + filePlan.toString() + " is not a file plan"); "Node " + filePlan.toString() + " is not a file plan");