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

AutoCAD mimetype lost when uploading new version

    Details

    • RCA Cause:
      No clear requirement for this
    • RCA Quality:
      No requirement to be tested
    • RCA Description:
      Functionality in this area has been added piecemeal over the years by different developers. Some existing extensions, as well as the newer file extensions that have appeared during this time, have been neither coded nor tested for.

      Description

      Steps to reproduce

      1. As admin, upload document StarTrek_1.dwg (attached) to the repo
      2. Validate mimetype property displays the correct value: Mimetype: AutoCAD Drawing (node's property sheet)
      3. Select Upload New Version action and select file StarTrek_2.dwg (attached)

      Actual result

      • Share Update File dialog shows Mimetype: Unkown
      • Node's property shows: Mimetype: Binary File (Octet Stream)

      Expected result
      Mimetype to be: Mimetype: AutoCAD Drawing

      Notes

      • This works on 5.1.1
      • Fails on 5.1.2 and 5.2

        Attachments

        1. 5.1.1.png
          5.1.1.png
          31 kB
        2. 5.1.2.png
          5.1.2.png
          125 kB
        3. 5.1.2b.png
          5.1.2b.png
          72 kB
        4. mime type displayed in upload dialog.png
          mime type displayed in upload dialog.png
          158 kB
        5. mimetype updated in properties.png
          mimetype updated in properties.png
          107 kB
        6. StarTrek_1.dwg
          379 kB
        7. StarTrek_2.dwg
          379 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  rvellozo Ricardo Vellozo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel