Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44341

Resources: Upload files -> Overwrite existing does not work with special characters in file name

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • 20 status:
      Please Merge
    • Test Plan:
      Hide

      In a site with Resources tool:

      1. Have one or more test files on your computer. File names should include:
        •  #
        • (
        • )
        • %
        • ^
        • &
      2. Click on the <Site name> Resources Actions drop-down menu.
      3. Select Upload Files.
      4. Click the browse button and select the files or drag & drop files into the box
        • Leave Versioning the default "Create new version", availability set to visible
      5. Click the Continue button. Files are uploaded and you return to the Resources page.
      6. For one of the files, select Actions -> Edit details and copy the URL. 
      7. Modify the test files on your computer. Don't rename the files. 
      8. Click on the <Site name> Resources Actions drop-down menu.
      9. Select Upload Files.
      10. Click the browse button and select the modified files or drag & drop into the box
      11. Change the Versioning option to "Overwrite existing files"
      12. Click the Continue button. Files are uploaded and you return to the Resources page.
         Current behavior: Two versions of the files are listed in Resources
         Expected behavior: Only one version of the files should be listed, with the Modified timestamp reflecting the new version being uploaded.
      13. Paste the URL into your browser and go.
         Current behavior: You view / download the original file
         Expected behavior: The link should go to the modified file

       

      Show
      In a site with Resources tool: Have one or more test files on your computer. File names should include:  # ( ) % ^ & Click on the <Site name> Resources Actions drop-down menu. Select Upload Files. Click the browse button and select the files or drag & drop files into the box Leave Versioning the default "Create new version", availability set to visible Click the Continue button. Files are uploaded and you return to the Resources page. For one of the files, select Actions -> Edit details and copy the URL.  Modify the test files on your computer. Don't rename the files.  Click on the <Site name> Resources Actions drop-down menu. Select Upload Files. Click the browse button and select the modified files or drag & drop into the box Change the Versioning option to "Overwrite existing files" Click the Continue button. Files are uploaded and you return to the Resources page.  Current behavior: Two versions of the files are listed in Resources  Expected behavior: Only one version of the files should be listed, with the Modified timestamp reflecting the new version being uploaded. Paste the URL into your browser and go.  Current behavior: You view / download the original file  Expected behavior: The link should go to the modified file  

      Description

      If you have several files in Resources and want to upload a new version of all of them using Upload File -> Overwrite existing files, it will create a duplicate of the file instead of overwriting the original. 

       

      It looks like the only functional way to replace a file in Resources would be to select Upload a New Version for each individual file, which may be difficult if an instructor has multiple files to update

      From comment: 

      Having these in the file name seems to cause the problem:

      • #
      • (
      • )
      • %
      • ^
      • &

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                chmaurer@iupui.edu Chris Maurer
                Reporter:
                cschwiebert Christina Schwiebert
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration