nextcloud / nextcloud/server

Investigate duplicate resources returned by team providers

Open
#54,001 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback feature: teams technical debt
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

It was found in lib/private/Teams/TeamManager.php that a provider might send the same resource multiple times from its getSharedWith() while there is now a safeguard, the root cause needs to be investigated and fixed.

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 in lib/private/Teams/TeamManager.php, focusing on how team providers return resources from getSharedWith(). Review the safeguard introduced in pull request #54000 and trace why a provider can return the same resource multiple times. Done means the root cause is fixed and duplicate resources are no longer returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.