Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15778

Unable to Delete or move linkNode in CIFS Drive


    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Won't Fix
    • Affects Version/s: 5.0.3
    • Fix Version/s: None
    • Component/s: CIFS
    • Labels:
    • Bug Priority:
      Category 1
    • ACT Numbers:

      612783, 00757105


      Customer may implement one or more link nodes to have only one physical document with several references in different folders. When creating a linkNode, with property cm:destination, you are unable to delete or move that node when mapped to a CIFS drive. When you delete the link node, it actually deletes the target document and the link node is unable to be deleted. You are also unable to move this document and will get a popup stating "You need permission to perform this action". This happens even when you are logged into the CIFS mapped drive as Admin.

      These behaviors do not occur on a WebDAV mapped drive.

      Steps to reproduce

      • Install and Start Alfresco 5.0.3
      • Upload any document into Alfresco
      • Create a link node using the following javascript:
      • Change cm:destination in the script to match the node ref of the previously uploaded document.
      var pr = [];
      pr["cm:name"] = "targetName.jpg.url";
      pr["cm:destination"] = "workspace://SpacesStore/76c17fe2-93f9-4293-a989-e50c4c1e01e4"; 
      pr["cm:title"] = "targetName.jpg";
      pr["cm:description"] = "targetName.jpg";
      linkNode = space.createNode("targetName.jpg.url", "{http://www.alfresco.org/model/application/1.0}filelink", pr);
      • Map a drive to Alfresco using CIFS protocol.
      • Try to move the created link node.
      • Try to delete the link node.

      Expected Behavior
      The link node should be deleted and not affect the target document.
      The link node should also be able to be moved to a different folder.

      Actual Behavior
      When you try to delete the link node, it will delete the target link node. The link node will persist.
      When you try to move the link node to a different folder, you will get a permissions error and cannot. Even when logged into the CIFS drive as 'Admin'.


          Issue Links




                • Assignee:
                  closedissues Closed Issues
                  ccollins Cody Collins
                • Votes:
                  0 Vote for this issue
                  6 Start watching this issue


                  • Created:

                    Structure Helper Panel