-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: Companion-1.2.2
-
Component/s: Content - Edit Files / Companion
-
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
- Create a local window account with username #test
- Login with the account that just created
- Try to access a Confluence page with an attachment
- Edit the attachment to launch the companion app
- 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.