appstore icon indicating copy to clipboard operation
appstore copied to clipboard

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

Open nursoda opened this issue 3 years ago • 0 comments

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.

nursoda avatar Sep 20 '22 16:09 nursoda