nextcloud / nextcloud/cookbook

own picture disappears after changing the recipe

Open
#2,891 3 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

Description
If you edit an existing recipe, your own image will be deleted.

Reproduction
Steps to reproduce the behavior:

  1. Create a new recipe
  2. Upload your own picture in the recipes folder and name it "full.jpg" 
  3. The thumbnails are then created over time
  4. Edit the recipe
  5. The images will be deleted from the recipe folder

Expected behavior
The images should be retained after editing.

Actual behavior
Images are deleted.

Versions
Nextcloud server version: 32.0.1 and 31.0.10
Cookbook version: 0.11.4
Database system: MySQL

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

Start by reproducing the issue with an existing recipe, an uploaded full.jpg, and a later edit, then trace the recipe-edit flow that removes files from the recipe folder. Confirm the fix by verifying that the original image and generated thumbnails remain after editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.