nextcloud / nextcloud/cookbook

show error message of the image cannot be obtained

Open
#3,203 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey,
not wanting to start another issue as my experience is somewhat similar.

Freshly installed Cookbook app on Nextcloud server does not want to use images from a URL.

If I create a new recipe, add Title, description ingredients etc and point the image to a URL (i.e.: https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Skwarki.jpg/960px-Skwarki.jpg) this is not retrieved.
I updated the image with a local file and the thumbnail was generated. If I point at a remote image this doesn't change and still shows local file. No amount of cache refresh helps.

When trying to import a recipe from a website the URL and other info is pulled correctly and the image is also shown.

NC 33.0.5
Cookbook 0.11.7

Originally posted by @dzidek23 in #2076

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 problem by creating a recipe with the supplied remote image URL, then compare it with a locally uploaded image and with an imported recipe. Start by tracing the image retrieval entry point used for new recipes; done means a failed remote-image retrieval is reported with a visible error message instead of silently retaining the local image.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.