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] - Updating foods does not update frontend #2862

Closed
6 tasks done
ekcom opened this issue Dec 18, 2023 · 1 comment · Fixed by #3056
Closed
6 tasks done

[BUG] - Updating foods does not update frontend #2862

ekcom opened this issue Dec 18, 2023 · 1 comment · Fixed by #3056
Labels
bug: confirmed bug Something isn't working

Comments

@ekcom
Copy link
Contributor

ekcom commented Dec 18, 2023

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?

Creating, labelling, and deleting foods at /group/data/foods does not update the frontend table.
Trying to delete an item "again" since it didn't disappear leads to an error message.

The backend is still functioning; a refresh of the page reflects the updates/deletions.

Renaming does update the frontend immediately.

Steps to Reproduce

  1. Navigate to /group/data/foods
  2. Delete an existing food
  3. Observe that it is not removed from the list

Please provide relevant logs

N/A

Mealie Version

mealie:nightly

Deployment

Docker (Linux)

Additional Deployment Details

No response

@ekcom ekcom added bug Something isn't working triage labels Dec 18, 2023
@Kuchenpirat
Copy link
Collaborator

Kuchenpirat commented Dec 18, 2023

Thanks for raising this issue.

I had this happen to me a few times as well, but cannot reliably reproduce it and did not jet have the time to take a deeper look into it.

The CRUD Table component which is used here is reactive most of the time but not always which leads to the issue described in this ticket. There are also sorting issues when creating new items which might be connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants