nextcloud / nextcloud/circles

Error after share a file to a circle: "Error PHP Undefined array key "value" at /var/www/nextcloud/apps/circles/lib/Db/ShareWrapperRequest.php#538"

Open
#1,952 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
177
Forks
68
Avg merge
2d 22h
Merged PRs (30d)
60

Description

We share a file with a circle and

  1. This error appears in the log:
    PHP ​​Error
    Undefined array key "value" at /var/www/nextcloud/apps/circles/lib/Db/ShareWrapperRequest.php#538

  2. Internal Nextcloud users who are part of the circle are not notified by email, but external users do receive the email.

The file does appear shared to all circle members.

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 apps/circles/lib/Db/ShareWrapperRequest.php at line 538 and reproduce sharing a file with a circle. Trace the handling of the missing "value" key and the notification paths for internal versus external members. Done means the log error is gone and internal circle members receive the expected email.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.