nextcloud / nextcloud/tables

Links to contacts do not work properly in shared databases.

Open
#1,481 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug medium
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce

Links to contacts do not work properly in shared databases.

A column has been created which offers the possibility to link to contacts (shared adressbook).

The following problem arises:

  1. If I select a contact from the Contacts app when creating or changing an entry and then click on the link after saving, the contact is called up correctly.

  2. But if a person - with this database is shared and who also has the necessary rights (create/update) does the same as described under 1. this also works for this person. But only for this person!

Not for all other persons who also have same access and at least the rights (create/update). If everyone else clicks on the link, a browser tab opens with the contacts app. However, the selected contact is not displayed, but simply the Contacts app list.

Nextcloud Hub 8 29.0.9 Enterprise

Image

Expected behavior

Database-Links to an shared adressbook of the Contacts-App should point directly to the selected Contact. This should even work for all members of the shared Database.

Actual behavior

Database-Links to an shared adressbook of the Contacts-App point directly to the selected Contact working only for the Person who created the database Link. Other Members can see only the List of the relating adressbook.

Tables app version

0.8.1

Browser

Firefox (latest), Chrome (latest)

Client operating system

Linux / Win

Operating system

Linux 4.18.0-553.8.1.el8_10.x86_64 x86_64 / docker

Web server

None

PHP engine version

PHP 8.2

Database

MySQL

Additional info

I can also find entries in the system log. I suspect this has something to do with:

The following for example (There are quite a few that are the same): "Value could not be parsed for column Kontaktdaten (via Kontakte App) "

[tables] Fehler: Value {"title":"Max, Muster","value":"https://YY.XXXX.de/index.php/apps/contacts/direct/contact/bf1bcfb7-ae47-4f65-a3a2-7cfb3fea4298~contacts","providerId":"url"} cannot be parsed as the column 453 does not allow the provider: url
PUT /index.php/apps/tables/row/1487 von xxx.xx.xx.xx von KarlKnapp um 28.11.2024, 10:28:39

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 shared-database contact-link flow described in the report, then inspect the Tables link handling around the logged provider: url parsing error and the Contacts direct-contact URL. Done means that a selected contact opens directly for every database member with the required access, rather than only for the link creator.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mysql, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.