Wishlist error #152
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
After update to 1.4 I get the "Error: FOREIGN KEY constraint failed." if I try to remove a set from the wishlist.
Other than that: congrats to that nice little update!
Greetings
Dennis
I cannot reproduce this. Can you try and run the 'Check Data Integrity' under Admin -> Database -> Maintenance?
I already did the check yesterday and again today: No integrity issues found! Your database is healthy.
The set I tried to remove is: 75409-1
Would it be possible for you to send me a copy of your database?
Yes. Its 17 MB. Where can I send it to?
If you cant attach it here (forgot what the max upload size is), can you upload it to https://seafile.baerentsen.space/u/d/4b3970edd649433fb12d/
Done
Thanks for sharing your database, that made it easy to track down the issue. The bug was in the order things got deleted. Wish owners were being removed after the wish itself, but the database requires it to go the other way around. Delete the owner first, then the wish. Since you had an owner assigned to that wish, the FK error occurred. I have no owners in my test data so I never saw it. The fix is done and will be part of
1.4.1. If you want to try it now, pull the:devDocker image tag and it should be good.Fixed in 69318e7b0b.
Ok, now I deselected the wish owner, but I still cant remove the wish.
Did you switch and pull the
:devbranch?The issue with just removing the owner is that the set still is in the table
bricktracker_wish_owners, it just shows0.