You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to share a file, the "Copy link" function fails. A notification appears saying "Failed to copy link", but the link is still copied to the clipboard. However, when you try to open the link in a browser, you encounter an error message on the ownCloud OCIS page: "An error occurred while loading the public link."
Steps to reproduce
Select a file to share.
Choose the option "Anyone with the link can view and download".
Set a password for the link.
Click the "Copy link" button to generate the sharing link.
The message "Failed to copy link" appears.
Paste the copied link in a browser and try to access it.
Expected behavior
Clicking "Copy link" should generate a valid link without any errors, and users should be able to access the shared file without seeing an error page.
Actual behavior
Although the message "Failed to copy link" appears, the link is copied to the clipboard. When you try to open the link in a browser, you see the error message: "An error occurred while loading the public link."
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
The issue appears to be browser-specific. The bug "Failed to Access Public Links" occurs when using Safari version 18.0, but does not occur in Safari version 16.6. This suggests that the problem may be related to browser compatibility.
The bug when copying links to the clipboard with Safari is well known, see owncloud/web#9166. We don't have a fix yet though.
Errors when opening the link sounds like a totally different thing though. I'm wondering how that can be browser specific 🤔 Does the browser console report any errors? Also, are you sure the correct link is being copied to your clipboard?
Describe the bug
When attempting to share a file, the "Copy link" function fails. A notification appears saying "Failed to copy link", but the link is still copied to the clipboard. However, when you try to open the link in a browser, you encounter an error message on the ownCloud OCIS page: "An error occurred while loading the public link."
Steps to reproduce
Expected behavior
Clicking "Copy link" should generate a valid link without any errors, and users should be able to access the shared file without seeing an error page.
Actual behavior
Although the message "Failed to copy link" appears, the link is copied to the clipboard. When you try to open the link in a browser, you see the error message: "An error occurred while loading the public link."
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
This issue occurs consistently when generating public sharing links with password protection.
The text was updated successfully, but these errors were encountered: