cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

changing image url does not change displayed image

Open alexishuxley opened this issue 1 year ago • 2 comments

Description changing image url does not change displayed image

Reproduction Steps to reproduce the behavior:

  1. start editing a new recipe
  2. set the image url to be https://en.wikipedia.org/wiki/Carrot#/media/File:Vegetable-Carrot-Bundle-wStalks.jpg
  3. save the recipe
  4. observe the image (some carrots) is correctly displayed
  5. edit the recipe
  6. change the url to be: https://upload.wikimedia.org/wikipedia/commons/d/d3/Turnip_2622027.jpg
  7. save the recipe

Expected behavior the image of the turnips should be displayed

Actual behavior the image of the carrots is displayed

Browser Firefox 121.0.1

Versions Nextcloud server version: 25.0.13 Cookbook version: 0.10.5 Database system: MariaDB

alexishuxley avatar Jan 18 '24 17:01 alexishuxley

no amount of cache flushing or page reloading or deleting the url entirely, saving, setting new url fixes this.

alexishuxley avatar Jan 18 '24 17:01 alexishuxley

Simply force reload the page solves the problem for me

BADF00D avatar Mar 17 '24 13:03 BADF00D