[Bug]: There are a lot of push notifications coming during the download of a file that is shared.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
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
the user posted the file and provided a link for general use. When viewing or downloading this file, you receive multiple notifications about downloading the file.
Steps to reproduce
- Settings - Notifications - Files - Downloaded files or folders that were accessed via email or a public link - Push notifications - true.
- We upload any video file and form a public access link.
- We pass the link to a colleague, he starts downloading the file, and I get a lot of push notifications, and not a single email.
There are no entries in the logs.
Expected behavior
It was expected that the notification would come only after downloading the file to the end, or only when clicking on the "Download" button.
I'm sorry if such a problem is known, I searched, but I didn't find anything.
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are identified. Start by reproducing the public-link download with push notifications enabled for downloaded files or folders, then trace when notifications are emitted during the download. Done means one notification is sent only after the download completes, or only when the Download action is initiated, without repeated push notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100