-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap33-feedbackbug
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
BeforeNodeDeletedEvent is not fired when calling File#delete()
Steps to reproduce
- IRootFolder#getUserFolder($userId)->newFile('//foobar.txt', 'test')->delete()
- Listen for BeforeNodeDeletedEvent
- Event is not fired. The old preDelete Event is fired though.
Expected behavior
BeforeNodeDeletedEvent should fire
Nextcloud Server version
master
Operating system
RHEL/CentOS
PHP engine version
PHP 8.4
Web server
None
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap33-feedbackbug
Type
Projects
Status
☑️ Done