owncloud / owncloud/ocis

Multiple in-app and mail notification generated for Share Expired event of resource inside Project drive

Open
#10,936 3 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
Multiple in-app and mail notification create for share expire for project space resource. It is flaky too(sometime one notification comes for share expiry, sometime 2 notification come)

## Steps to reproduce
1. user **Alice** created resource **folder** inside space **ShareSpace**
2. **Alice** shared resouce **folder** of space **ShareSpace** to user **Brian**
3. total 2 notification should be present at Brian side one for share and next one for share expire but total 3 notification is present

![Image](https://github.com/user-attachments/assets/09f729e3-11b5-4d18-aa96-3d2e6014a584)

![Image](https://github.com/user-attachments/assets/755611bd-1958-443e-9660-905064fa32ff)

## Expected behavior
only one notification per action

## Actual behavior
Two notifications are created for share expire event

## Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

```console
OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue
```

## Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.