Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - After deleting event about cooking a meal, in recipe's data is still shown the last cooking of the meal #4998

Open
6 tasks done
barbax7 opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working triage

Comments

@barbax7
Copy link

barbax7 commented Feb 1, 2025

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

I created a recipe and added to meal plan. In this way, it added the "last made" date is filled. After deleting event from timeline, the "last made" date is still filled.

Steps to Reproduce

  1. add meal to meal plan (i did a meal in the past)
  2. open recipe's timeline and delete event

Please provide relevant logs

mealie    | INFO     2025-02-01T12:41:16 - [217.201.204.125:0] 200 OK "GET /api/households/self/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:30 - [127.0.0.1:42068] 200 OK "GET /api/app/about HTTP/1.1"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/organizers/tags?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/groups/households?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/units?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/organizers/categories?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:32 - [217.201.204.125:0] 200 OK "GET /api/foods?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:42 - [217.201.204.125:0] 200 OK "PUT /api/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:43 - [217.201.204.125:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:43 - [217.201.204.125:0] 200 OK "GET /api/app/about HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:43 - [217.201.204.125:0] 200 OK "GET /api/media/users/d33ae2e6-bbbb-4ba2-994b-431c4acfb9cf/profile.webp?cacheKey=1234 HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:43 - [217.201.204.125:0] 200 OK "GET /api/households/cookbooks?page=1&perPage=-1&orderBy=position&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:43 - [217.201.204.125:0] 200 OK "GET /api/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:44 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:44 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:44 - [217.201.204.125:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:44 - [217.201.204.125:0] 200 OK "GET /api/households/self/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:47 - [217.201.204.125:0] 200 OK "GET /_nuxt/36eae47.js HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:47 - [217.201.204.125:0] 200 OK "GET /_nuxt/b06c49a.js HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:47 - [217.201.204.125:0] 200 OK "GET /_nuxt/516509d.js HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:47 - [217.201.204.125:0] 200 OK "GET /_nuxt/img/manage-cookbooks.9b93d42.svg HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:55 - [217.201.204.125:0] 200 OK "GET /api/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:56 - [217.201.204.125:0] 200 OK "GET /api/media/recipes/b2238930-5154-4c9e-a52f-eb1dde6d30fb/images/original.webp?rnd=1&version=mGvm HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:56 - [217.201.204.125:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:56 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:56 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:41:56 - [217.201.204.125:0] 200 OK "GET /api/households/self/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:01 - [127.0.0.1:42174] 200 OK "GET /api/app/about HTTP/1.1"
mealie    | INFO     2025-02-01T12:42:06 - [217.201.204.125:0] 200 OK "GET /api/recipes/timeline/events?page=1&perPage=32&orderBy=timestamp&orderDirection=asc&queryFilter=(recipe.slug%3D%22pollo-al-limone%22)+AND+eventType+IN+[%22info%22,+%22system%22,+%22comment%22] HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:17 - Deleting item with id 8355d5bd-95ea-4b2c-932a-c4d267a96109
mealie    | INFO     2025-02-01T12:42:17 - [217.201.204.125:0] 200 OK "DELETE /api/recipes/timeline/events/8355d5bd-95ea-4b2c-932a-c4d267a96109 HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:23 - [217.201.204.125:0] 200 OK "GET /g/home/r/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /favicon.ico HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /icons/android-chrome-maskable-512x512.png HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/app/about/theme HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/users/self HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/app/about HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/groups/members?page=1&perPage=-1&orderBy=full_name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/groups/households?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/households/self HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/households/cookbooks?page=1&perPage=-1&orderBy=position&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /sw.js HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:24 - [217.201.204.125:0] 200 OK "GET /api/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/media/recipes/b2238930-5154-4c9e-a52f-eb1dde6d30fb/images/original.webp?rnd=1&version=mGvm HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/users/self/ratings HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/households/recipe-actions?page=1&perPage=-1&orderBy=title&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/groups/households/d458f0ce-43a6-43a8-b0e5-2f2e6c0f4c9a HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:25 - [217.201.204.125:0] 200 OK "GET /api/households/self/recipes/pollo-al-limone HTTP/1.0"
mealie    | INFO     2025-02-01T12:42:32 - [127.0.0.1:42260] 200 OK "GET /api/app/about HTTP/1.1"
mealie    | INFO     2025-02-01T12:43:03 - [127.0.0.1:42262] 200 OK "GET /api/app/about HTTP/1.1"
mealie    | INFO     2025-02-01T12:43:11 - [217.201.204.125:0] 200 OK "GET /api/media/recipes/b2238930-5154-4c9e-a52f-eb1dde6d30fb/images/original.webp?version=mGvm HTTP/1.0"

Mealie Version

2.5.0

Deployment

Docker (Linux)

Additional Deployment Details

No response

@barbax7 barbax7 added bug Something isn't working triage labels Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant