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

Replacing Resource does not update URL, so name and mime-type may become incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3
    • Fix Version/s: None
    • Component/s: Content
    • Labels:
      None
    • Environment:
      Client: OS X 10.3.9, Safari 1.3.1 + Win2K, IE6 (this appears to be a server-side problem)
    • CLE Team Issue:
      Yes

      Description

      The file name of a certain file is not updated properly when a new file is uploaded replacing another file of a different mime type. This may only be problem when the file that replaced the original file has a different mime type and file extention. The actual file is replaced but the file name and extention are not.

      Reproduce thus:

      In Sakai 2.0.1,

      1. Upload e.g. a PDF file to resources an assign an arbitrary "Title" to it. Make no other choices in the dialogue. Save.
      2. Replace the previously uploaded PDF file with a Word file. Retain the "Title" and make no other choices in the dialogue. Update.

      The URL for the word file is now the same as it was for the PDF file that was replaced. The mime type is set correctly however this is not reflected in the URL.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  a.m.berg@uva.nl Alan Berg
                  Reporter:
                  wisin Per Wising (Inactive)
                  Votes:
                  2 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration