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

            Activity

            Hide
            kroast Kevin Roast [X] (Inactive) added a comment -

            Please apply the suggested fix

            Show
            kroast Kevin Roast [X] (Inactive) added a comment - Please apply the suggested fix
            Hide
            wtaylor Will Taylor [X] (Inactive) added a comment -

            This should be fixed on Cloud 43 and merged to the appropriate 5.1.N branch.

            Show
            wtaylor Will Taylor [X] (Inactive) added a comment - This should be fixed on Cloud 43 and merged to the appropriate 5.1.N branch.
            Hide
            kroast Kevin Roast [X] (Inactive) added a comment -
            Show
            kroast Kevin Roast [X] (Inactive) added a comment - r124261 .
            Hide
            caxinte Cristina Axinte [X] (Inactive) added a comment -

            Defect is fixed and passed. Validated on Alfresco Cloud 43 (Product Version: myalfrescotrunk-43.0-111). The document containing the spaces in the name is opened successfully in MS Office after authenticating on pop-up window.

            Show
            caxinte Cristina Axinte [X] (Inactive) added a comment - Defect is fixed and passed. Validated on Alfresco Cloud 43 (Product Version: myalfrescotrunk-43.0-111). The document containing the spaces in the name is opened successfully in MS Office after authenticating on pop-up window.
            Hide
            caxinte Cristina Axinte [X] (Inactive) added a comment -

            Sending it to Ravi in order to be validated on 5.1.N branch.

            Show
            caxinte Cristina Axinte [X] (Inactive) added a comment - Sending it to Ravi in order to be validated on 5.1.N branch.
            Hide
            bwherry Briana Wherry added a comment -

            Verified as fixed in Cloud 43

            Show
            bwherry Briana Wherry added a comment - Verified as fixed in Cloud 43
            Hide
            cnechifor Corina Nechifor added a comment -

            Added the clone ACE-5281 to be validated on 5.1.N branch

            Show
            cnechifor Corina Nechifor added a comment - Added the clone ACE-5281 to be validated on 5.1.N branch

              People

              • Assignee:
                closedbugs Closed Bugs
                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