nextcloud / nextcloud/usercontent.apps.nextcloud.com

[Bug] New app's thumbnail is not loaded if image is replaced inline (without changing its URL)

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

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
4
Forks
7
PR merge metrics
No merged PRs in 30d

Description

This issue initially was opened as https://github.com/nextcloud/server/issues/34151 and has been moved here. It may be related to https://github.com/nextcloud/appstore/issues/891 and https://github.com/nextcloud/appstore/issues/361.

Bug description

I have this line in my app's appinfo/info.xml:

<screenshot small-thumbnail="https://raw.githubusercontent.com/nursoda/twofactor_email/main/screenshots/select-auth_thumb.png">https://raw.githubusercontent.com/nursoda/twofactor_email/main/screenshots/challenge.png</screenshot>

I replaced that screenshot image on GitHub two weeks ago. In the app store, the new screenshots and thumbnails are displayed:

grafik
grafik

Not so in /settings/apps App's Details – there, the old image remains:

grafik

Clearing cache and reloading does not solve it.

Steps to reproduce
  1. Create a NC app, do screenshots, link them with a static URL in info.xml, publish the app in the NC app store. Install the app in a NC instance. Check that images are shown in app store and NC instance.
  2. Change screenshots and upload them to the SAME static URL. Check the app's details page in the store: new images are shown. Check in the NC instance: old image remains.
Expected behavior

The new thumbnails should be displayed in /settings/apps aswell.

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 source files or tests are named in the issue. Start by reproducing the stale-thumbnail case through the app's proxy and trace how image URLs are fetched and cached; done means a screenshot replaced at the same URL is refreshed in /settings/apps without requiring a URL change.

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.