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

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

    Details

    • Build Number:
      Alfresco Share v5.2-SNAPSHOT (r132722-b838, Aikau 1.0.93, Spring Surf 5.2-SNAPSHOT, Spring WebScripts 6.11, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-2014 Alfresco Enterprise v5.2.0 (r132726-b567) schema 10005

      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

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                cnechifor Corina Nechifor [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                8 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 hours
                  2h