nextcloud / nextcloud/activity

Enable Notification Emails does not work

Open
#703 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: email
Dominant language
JavaScript
Stars
145
Forks
72
Avg merge
6d 9h
Merged PRs (30d)
42

Description

Describe the bug

When Going to the Admin / Activity page, the checkbox at the top under "Notifications" for "Enable Notification Emails" is unchecked. Checking the box, then refreshing the page, the setting does not appear to save and goes back to a checkbox that is unchecked. Because of this, under user Activity, users do not have the option to select "Email" and only "Push" notifications. They are also not receiving emails currently for activity they previously had set to send.

I use nextcloud-snap . This was listed as a upstream bug so I am reporting here. Not sure when this started, but I think with the 22.2.3snap2 update it might have occurred, somewhere within the last 30 days according to my users.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Admin Activity
  2. Click on 'Enable Notification Emails"
  3. Refresh page
  4. Box is still unchecked.
OS/snapd/snap version

What OS and version are you running? Please also include the output of the
following commands:

$ snap list nextcloud

Name Version Rev Tracking Publisher Notes
nextcloud 22.2.3snap2 28713 latest/stable nextcloud✓ -

and:

$ snap version

snap 2.52.1
snapd 2.52.1
series 16
ubuntu 20.04
kernel 5.4.0-91-generic

I have found a similar issue on NextCloud's Help Forums. It mentioned editing things in SQL as a work around, but given this is all one snap package, its a little above my understanding on how to do that.
https://help.nextcloud.com/t/enable-notification-emails-activity-app-not-work/124699/6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the setting failure from the Admin Activity page on nextcloud 22.2.3snap2, using the listed snap and Ubuntu versions. Compare the behavior with upstream issue 1976 and the linked help-forum workaround. Done means the checkbox persists after refresh, the user Activity page offers Email, and configured activity emails are sent.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.