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

[ recipe/brew log ] unable to sometimes delete recipe if there's a template of a template #303

Open
m1771vw opened this issue Apr 25, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@m1771vw
Copy link
Collaborator

m1771vw commented Apr 25, 2021

First Test - One Recipe, One Import, One Template

  • Create recipe
  • Import above recipe
  • Template above recipe
  • Tried to delete recipe, was able to. Also able to delete

Second Test - One Recipe, Two Import, Two Template

  • Create recipe
  • Import above recipe
  • Template above recipe
  • Import the template above
  • Template the template above
    - Could not delete original recipe.
    message: "Uniqueness violation. duplicate key value violates unique constraint \"recipe_barista_id_name_key\""

Third Test - One Recipe, Template and then Import

  • Create recipe
  • Template above recipe
  • Do another import with above recipe, was able to delete

Fourth Test - One Recipe, Template and then Template

  • Create recipe
  • Template above recipe
  • Template the above template, was able to delete

Conclusion
TBH, not really sure why the second test fails but I don't think this should be too bad of an issue?
Still opening an issue for awareness

@m1771vw m1771vw added the bug Something isn't working label Apr 25, 2021
@m1771vw m1771vw changed the title [ recipe/brew log ] unable to delete recipe if [ recipe/brew log ] unable to sometimes delete recipe if there's a template of a template Apr 25, 2021
@pattruong pattruong added this to the Stability 2021 Q2 milestone Apr 26, 2021
@pattruong
Copy link
Member

@m1771vw assigning to you because I think it could give you some Hasura exp & I need a break from this feature lol

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

No branches or pull requests

2 participants