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

Upload new version action for a duplicate file name changes the name of the file

    Details

    • Type: Service Pack Request
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 4.2.6.6, 4.2.6.7, 5.1.2, 5.2
    • Fix Version/s: 6.0.N
    • Component/s: Share Application
    • Labels:
    • Environment:
      Alfresco Enterprise v4.2.6.6
      Linux Ubuntu 16.04.2 LTS
      Tomcat
      PostgreSQL
    • Bug Priority:
      Category 2
    • ACT Numbers:

      00820005

    • Sprint:
      Nightwing 13 - Brainiac 13, Flamebird 13 - Viper
    • Work Funnel End:
      2017-06
    • Story Points:
      3

      Description

      Two files called testFile.docx have been uploaded to a share site’s document library and have the names testFile.docx (v1.0) and testFile-1.docx (v1.0). If a new version of testFile-1.docx, with minor changes, is uploaded the name is changed to testFile-2.docx (v1.1) instead of testFile-1.docx (v1.1). If you upload a new version again, with minor changes, the name is changed to testFile-1.docx (v1.2).

      Steps to Reproduce:
      1. Login with an admin or non-admin account.
      2. Create a site.
      3. In the site’s document library use the upload button to upload a file called testFile.docx.
      4. In the site’s document library use the upload button to upload the same file called testFile.docx again.
      5. In the document library, there are now two documents: testFile.docx (v1.0) and testFile-1.docx (v1.0).
      6. For the testFile-1.docx use the action “Upload New Version” with Minor version changes.
      7. testFile-1.docx (v1.0) now becomes testFile-2.docx (v1.1).
      8. For the testFile-2.docx use the action “Upload New Version” with Minor version changes.
      9. testFile-2.docx (v1.1) now becomes testFile-1.docx (v1.2).

      Expected Behavior:
      The testFile-1.docx (v1.0) file should retain its original name and update the minor version number, testFile-1.docx (v1.1).

      Observed Behavior:
      Whenever a new version of testFile-1.docx is uploaded the minor version number is changed correctly but the file name alternates between testFile-1.docx and testFile-2.docx.

      *Note 1: This only occurs if two files with the same name are uploaded to the share site’s document library. If only one file with the original file name, testFile.docx is uploaded using the “Upload Button”, when a new version is uploaded the name remains the same but the verion is updated.

      *Note2: This also happens when “Upload New Version” is used with major changes.

        Attachments

        1. MNT-17620.docx
          6.18 MB
        2. MNT-17620.docx
          5.59 MB
        3. testFile-1 example.png
          testFile-1 example.png
          220 kB
        4. testFile-2 example.png
          testFile-2 example.png
          225 kB
        5. testFile example.png
          testFile example.png
          329 kB
        6. Untitled.mp4
          9.44 MB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  kwatson Kimberly Watson
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 2 days
                    2d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified

                      Structure Helper Panel