nextcloud / nextcloud/cookbook

changing image url does not change displayed image

Open
#2,076 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backend bug
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

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

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

Reproduce the issue in the recipe editor using the carrot URL, save it, replace it with the turnip URL, and save again. Trace the displayed image from the saved recipe data; done means editing and saving the image URL causes the turnip image to be displayed instead of the previously cached carrot image.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.