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

Đang mở
#67,081 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
PHP
Star
37.6k
Fork
5.4k
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
623

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/server

Tất cả issue của nextcloud/server

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.