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

Mimetype Unknown for protected MS Office file uploaded via AOS

    Details

      Description

      When uploading a password protected MS Office file via AOS, its mimetype is set to Unknown, so it is not possible to Edit Online. This doesn't happen when the file is uploaded via Share.

      [Steps to reproduce]
      1- Set up a vanilla 5.0.1 environment
      2- From the client, map a network drive to any AOS accessible folder e.g http://server:port/alfresco/aos/Shared
      3- Copy a protected MS Office file to the network drive
      4- Try to "Edit Online" the document in Share and check its mimetype

      [Expected behaviour]
      It is possible to "Edit Online" the document, the document's mimetype is Microsoft Excel|Word|PowerPoint 2007.

      [Observed behaviour]
      The "Edit Online" action is not available in Share, the document's mimetype is "Unknown"

      [Analysis to date]
      When uploading the file via Share, the correct mimetype is detected and "Edit Online" works.
      The issue is not reproducible with a non protected file.
      Setting manually the mimetype of the file afterwards is not an option for the customer as they want to use this feature for mass file upload.
      See attached Fiddler trace and example MS Excel protected file (password=password) for reference.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                jbruinaud Julien Bruinaud [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 2 days, 5 hours, 30 minutes
                  2d 5h 30m

                    Structure Helper Panel