Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-5259

Edit in MS Office not working if file name contains space characters (in Chrome)

    Details

      Description

      Reproduce:
      1. Add a file with a space character in the name to a document library
      2. Click "Edit in MS Office" Action

      Expected:
      Dialog "External protocol request" is displayed

      However:
      Nothing happens.

      Fix:
      In /share/src/main/webapp/components/documentlibrary/actions.js change this line

            _aos_tryToLaunchOfficeByMsProtocolHandler: function dlA__aos_tryToLaunchOfficeByMsProtocolHandler(officeLauncher, protocolHandler, url)
            {
                var protocolUrl = protocolHandler + ':ofe%7Cu%7C' + url;
                var protocolHandlerPresent = false;
      

      to

            _aos_tryToLaunchOfficeByMsProtocolHandler: function dlA__aos_tryToLaunchOfficeByMsProtocolHandler(officeLauncher, protocolHandler, url)
            {
                var protocolUrl = protocolHandler + ':ofe%7Cu%7C' + encodeURI(url);
                var protocolHandlerPresent = false;
      

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  skopf Stefan Kopf
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 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 - 4 hours
                    4h

                      Structure Helper Panel