mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@114258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user