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

CLONE - Move / Copy dialog's Repository folder tree shows everything instead of specified default root folder

    Details

      Description

      [Steps to reproduce]
      1. In Share, create a folder and note down its noderef id.
      2. Create or upload a document into the folder.
      3. In share-config-custom.xml, specify the <root-node> to the noderef of the folder just created like so:

         <!-- Repository Library config section -->
         <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
            <!--
               Root nodeRef or xpath expression for top-level folder.
               e.g. alfresco://user/home, /app:company_home/st:sites/cm:site1
               If using an xpath expression, ensure it is properly ISO9075 encoded here.
            -->
      
            <root-node>workspace://SpacesStore/fa73c4e7-11ab-4d6a-80ec-77b43fe1b7b5</root-node>
      ...
      

      3. Restart Alfresco, log back into Share and click on Repository. Notice that the default root folder is now the newly specified folder.
      4. Click on either the Move or Copy action of the file you just created/uploaded in step 2 and click on the Repository link.

      [Actual result]
      It displays the entire folder tree structure from Repository onwards.

      It might be a regression as this was not reproduced on 4.2. It's reproduced on 5.0.2. Please see images attached.

      [Expected Result]
      It should display only the specified folder and its children.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                ctan Craig Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h