-
-
Notifications
You must be signed in to change notification settings - Fork 806
Downloads from a guest drive don’t work #1782
Copy link
Copy link
Closed
Labels
BugThere is a problem in our source codeThere is a problem in our source codeDriveAnything related to CryptPad interface, not appsAnything related to CryptPad interface, not apps
Description
Description
Download a file from a guest (not connected) drive seems to be broken.
Steps to reproduce
- Open CryptPad as a guest (e.g., in private browsing)
- Create a pad (for instance code, but any kind of document)
- Go back on your guest drive and right click on your newly created file, then ”Download”
- Nothing happens (following error is raised in the console log)
Alternatively, going to your profile and downloading your drive results in a .zip file containing an empty drive folder.
Relevant logs
Uncaught TypeError: filename.replace is not a function
fixFileName https://cryptpad.fr/common/common-util.js?ver=2024.12.0-3:299
todo https://cryptpad.fr/common/drive-ui.js?ver=2024.12.0-3:4743
downloadFolder https://cryptpad.fr/common/drive-ui.js?ver=2024.12.0-3:4762
addContextEvent https://cryptpad.fr/common/drive-ui.js?ver=2024.12.0-3:4935
jQuery 2
dispatch
handleExpected behavior
Downloading files from the guest drive should work as it does on regular accounts. Note that from an opened document, it is possible to export them (e.g. in markdown for code).
Which operating system are you using?
Linux/BSD/UNIX
What browsers are you seeing the problem on?
Mozilla Firefox, Google Chrome
Extensions
Not relevant.
Version
2024.12.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugThere is a problem in our source codeThere is a problem in our source codeDriveAnything related to CryptPad interface, not appsAnything related to CryptPad interface, not apps