nextcloud / nextcloud/server

Sharing API behaves unexpected

Open
#50,263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 31-feedback bug feature: sharing regression
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Regression most likely from https://github.com/nextcloud/server/pull/49898

  • Create a share with a user
  • Check mail_send in the response
  • Check mail_send as recipient for the same share
Expected

The field matches 🔢

Actual

The field has different values 💥

cc Authors and approvers: @miaulalala @artonge @nfebe @provokateurin

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 reviewing the regression source, pull request 49898, and trace the sharing API response for a share created with a user. Compare the mail_send value returned to the sharer with the value returned to the recipient, following the reproduction steps in this issue. Done means both responses report matching mail_send values, with coverage for the regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, 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.