Companion app will not work if the windows user acount username contains special chracters (#, @, %, and etc))

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: Companion-1.2.2
    • None
    • 4
    • Severity 3 - Minor

      Issue Summary

      If the windows user account username contains special characters, Companion app will not be able to allow the user to open the file and re upload it after the user edited the file.

      Steps to Reproduce

      1. Create a local window account with username #test
      2. Login with the account that just created
      3. Try to access a Confluence page with an attachment
      4. Edit the attachment to launch the companion app
      5. An error will appear.
        For details, please refer to the following video.
        Recording #3.mp4

      Expected Results

      User is able to edit the file and upload to Confluence

      Actual Results

      User is not able to upload the file after edited the attachment as Companion app is not able to upload it.

      The below exception will appear when user edit the attachment.

      Failed 
      to   compile 
      C:/Users/: 
      Asked
       for C:/Users/ 
      but 
      it was 
      not 
      precompiled!
      Error: 
      Asked 
      for 
      C:/Users/ 
      but 
      it   was 
      not 
      precompiled!
          at 
      FileChangedCache.getCacheEntryForPath 
      (C:\Users\#test\AppData\Local\atlassian-desktop-companion\app-
      1.2.2\resources\app.asar\node_modules\electron-compile\lib\file-change-
      cache.js:218:15)
          at 
      C:\Users\#test\AppData\Local\atlassian-desktop-companion\app-
      1.2.2\resources\app.asar\node_modules\electron-compile\lib\file-change-
      cache.js:127:41
          at 
      Generator.next
       (<anonymous>)
          at 
      step 
      (C:\Users\#test\AppData\Local\atlassian-desktop-companion\app-
      1.2.2\resources\app.asar\node_modules\electron-compile\lib\file-change-
      cache.js:27:191)
          at 
      C:\Users\#test\AppData\Local\atlassian-desktop-companion\app-
      1.2.2\resources\app.asar\node_modules\electron-compile\lib\file-change-
      cache.js:27:437
          at 
      new Promise
       (<anonymous>)
          at 
      C:\Users\#test\AppData\Local\atlassian-desktop-companion\app-
      1.2.2\resources\app.asar\node_modules\electron-compile\lib\file-change-
      cache.js:27:99
          at 
      FileChangedCache.getHashForPat
      

      Workaround

      Remove the special characters for the windows account username and ensure the folder name for the user do not contains special characters as well.

            Assignee:
            Unassigned
            Reporter:
            Lipkent Ng (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: