mealie-recipes / mealie

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
https://docs.mealie.io
GNU Affero General Public License v3.0
5.59k stars 608 forks source link

[BUG] - Recipe ingredient changes not saved before parsing ingredients #3793

Open simgunz opened 4 days ago

simgunz commented 4 days ago

First Check

What is the issue you are experiencing?

Changes to the recipe ingredients

Steps to Reproduce

  1. Edit a recipe
  2. Delete first ingredient
  3. Click "Parse"
  4. A prompt appears asking to save the changes > Click "OK"
  5. Ingredients automatically parsed (Brute Parser)

Result: The deleted ingredient appears among those parsed

Please provide relevant logs

INFO 2024-06-25T09:19:56 - [172.24.0.1:49584] 200 OK "GET /api/recipes/filetti-di-merluzzo-surgelati-alla-pizzaiola HTTP/1.1" INFO 2024-06-25T09:19:56 - [127.0.0.1:33000] 200 OK "GET /api/app/about HTTP/1.1" INFO 2024-06-25T09:19:56 - [172.24.0.1:49600] 200 OK "GET /api/recipes/filetti-di-merluzzo-surgelati-alla-pizzaiola/comments HTTP/1.1" INFO 2024-06-25T09:19:56 - [172.24.0.1:49584] 200 OK "GET /api/users/self/ratings HTTP/1.1" INFO 2024-06-25T09:19:56 - [172.24.0.1:49586] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.1" INFO 2024-06-25T09:19:58 - [172.24.0.1:49584] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.1" INFO 2024-06-25T09:20:02 - [172.24.0.1:57244] 200 OK "GET /api/app/about HTTP/1.1" INFO 2024-06-25T09:20:02 - [172.24.0.1:57252] 200 OK "GET /api/recipes/filetti-di-merluzzo-surgelati-alla-pizzaiola HTTP/1.1" INFO 2024-06-25T09:20:02 - [172.24.0.1:57242] 200 OK "PUT /api/recipes/filetti-di-merluzzo-surgelati-alla-pizzaiola HTTP/1.1" INFO 2024-06-25T09:20:04 - [172.24.0.1:57244] 200 OK "POST /api/parser/ingredients HTTP/1.1"

Mealie Version

v1.9.0 d96c36333b9cb9461c5dee96ae28b60d912b38fd

Deployment

Docker (Linux)

Additional Deployment Details

No response