nextcloud / nextcloud/previewgenerator

Preview-Generator + Groupfolder + read-only Link-Share = Previews cannot be loaded (404)

Open
#447 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
520
Forks
55
PR merge metrics
No merged PRs in 30d

Description

When sharing a folder from inside a Groupfolder via a public link, and the permissions for this link are read-only, previews cannot be loaded. Browser console reports 404 for them:
grafik

When setting the permissions of the public link share to "Editable" it immediately starts working again:
grafik

As of now it is unclear if the problem is in the code of the Previewgenerator app or the Groupfolders app. There's also an issue over there: nextcloud/groupfolders#2740

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

No file or test is named. First reproduce the 404 with a read-only public link to a folder inside a Groupfolder, compare it with an editable link, and inspect the browser console; then compare the Previewgenerator behavior with nextcloud/groupfolders#2740. Done means previews load successfully for the read-only link and the responsible app is identified.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.