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] - Importing Recipes Twice Via Migration Creates Duplicate Recipes With Missing Images #3858

Open
6 tasks done
michael-genson opened this issue Jul 5, 2024 · 0 comments
Labels
bug: confirmed bug Something isn't working

Comments

@michael-genson
Copy link
Collaborator

michael-genson commented Jul 5, 2024

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?

Importing the same recipes twice (e.g. from the same CopyMeThat file) creates the recipes twice, but without images. Ideally recipes are skipped or overwritten. While typically importing a migration file twice is an accident, it's not always clear that you did this (see #3849).

This is particularly annoying during dev work/testing.

Steps to Reproduce

  1. Import any migration file
  2. Once it completes, import it again
  3. Observe that there are two of each recipe, but only the first instance has images

Please provide relevant logs

N/A, normal migration logs

Mealie Version

1.10.2

Deployment

Docker (Synology)

Additional Deployment Details

No response

@michael-genson michael-genson added bug Something isn't working triage bug: confirmed and removed triage labels Jul 5, 2024
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

No branches or pull requests

1 participant