Open dorianne-arawa opened 5 months ago
I would like to report a strange behavior we encountered that caused this exact issue in our environment. After upgrading to version 29 and re-enabling our old email template, the test for sending emails failed, and a PHP Fatal error appeared in the logs. Additionally, we tried to share an email link and received the same error message mentioned (just in v29 style). I’m confused as to why PHP interprets this as the error, but that’s what happened in our case.
I hope this points us in the right direction, as I looked through the code and couldn't figure it out myself 🙈
Same issue on Nextcloud Hub 7 (28.0.5)
⚠️ This issue respects the following points: ⚠️
Bug description
On instances with Nexcloud versions 27.1.7 and 27.1.9, public email share links display an error when created, whereas they are in fact created (and displayed on page reload only).
Full error message : Error creating the share failed, because this item is already shared with user
On the first click to confirm the share, the request is sent, but the front end displays nothing. The user clicks a second time and receives an error (but the share was created on the first click).
Steps to reproduce
Sharing
parametersSearch for share recipients
fieldSave share
: nothing happens in the user interfaceSave share
a second time: the error message appears (Error creating the share <file name> failed, because this item is already shared with user <email address>
)Expected behavior
Sharing
parametersSearch for share recipients
fieldSave share
: the share is created, without error messageInstallation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
![Uploading 2190 bug partages externes mails.png…]()