nextcloud / nextcloud/circles

Try to linking a federated Circles throws an error

Open
#254 6 comments 2 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

If I try to link between federatde Circles with NC 15.04 and Crcles App 0.16.0 on both servers I got the following Message from the Server.
Verknüpfung zu {remote} konnte nicht erstellt werden: Keine Fehlermeldung

Log File Error:
TypeError: Argument 1 passed to OCA\Circles\Db\FederatedLinksRequest::delete() must be an instance of OCA\Circles\Model\FederatedLink, null given, called in /home/me/public_html/apps/circles/lib/Service/FederatedLinkCreationService.php on line 243

Can anyone Help?

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 federated linking attempt with Nextcloud 15.04 and Circles 0.16.0 on both servers, then inspect FederatedLinkCreationService.php around line 243 and the logged FederatedLinksRequest::delete() call. Done means the link is created without the null-argument TypeError and the server reports no error.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.