[Bug]: No email notifications sent for files uploaded via public share link after upgrading to 35.0.3 (Push notifications work)

Aperta
#67,081 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start by tracing how public share uploads create Activity events and how those events are selected for email notifications; the issue names no source files or tests. Compare that path with the working push or web notification path, then check the email notification tests. Done means a public upload generates an email to the share owner while the existing push notification behavior still works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

0. Needs triage 35-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

After upgrading Nextcloud to version 35.0.3, email notifications are no longer generated or sent when a guest uploads files via a public shared link (File Drop / Share with upload permissions).
However, push notifications (and/or web UI notifications) for these exact upload events still work as expected, and general email sending (e.g., test emails from Admin settings, password resets, or other activity emails) works without issues.

Steps to reproduce

Steps to reproduce the behavior:

  1. Ensure email notifications for file uploads via public links are enabled in the user's Activity settings (Settings -> Activity -> check email box for "A file or folder has been created" / "A file or folder was shared" or relevant public upload events).
  2. Create a folder and share it via a public link with Allow upload and editing or File drop (upload only) permissions.
  3. Open the public share link in an incognito/private browser window (not logged in).
  4. Upload one or more files to the shared folder.
  5. Wait for the background cron job (cron.php) to run and process the activity queue.
  6. Observe that a push/web notification is received, but no email notification is sent/received.
Expected behavior

Expected behavior
An email notification should be generated and sent to the share owner when files are uploaded via a public link, just as it did prior to updating to Nextcloud 35.0.3.

Nextcloud Server version

35

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

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

• Test emails sent via Administration settings -> Basic settings -> Email server are delivered successfully.
• Push notifications for the public link upload event are triggered properly, which indicates that the upload event itself is being registered by the Activity app, but the email queue/generation fails or skips these events.

Lingua principale
PHP
Stelle
37.6k
Fork
5.4k
Merge medio
1g 13h
PR unite (30g)
623

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/server

Tutte le issue di nextcloud/server

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.