Deleted cards reappear when reloading page

 avatar
JVlPb6Z2 avatarJVlPb6Z2
{"ops":[{"insert":"Cards that have been deleted from a deck sometimes reappear when reloading the page. \nTo reproduce:\nCreate a deck and add multiple cards to a single category (i.e. Land = [ Plains, Island, Swamp, Mountain, Forest ])"},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Save and reload"},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Remove 1 or more (not all) cards from the category (i.e. Land = [ Plains, Island, Swamp, Mountain ])"},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Rename the category (i.e. Land -> Basic Land)"},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Save and reload"},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"\nThe category's name change will be saved, but the removed cards will have reappeared (i.e. Basic Land = [ Plains, Island, Swamp, Mountain, Forest ])\nSaving before renaming the category, or renaming before removing a card will not trigger the bug.\n"}]}
0
 avatar
{"ops":[{"insert":"Good catch! This, and a couple other obscure category reversion bugs, specifically relate to the renaming of automatically generated categories (Creature, Artifact, etc.). Doing so wasn't part of expected workflow when the code was originally written, but it's a little late to put that genie back in it's bottle. We're exploring options now for how to deal with it, but fortunately it doesn't seem incredibly widespread. \n\nI appreciate you reaching out with the extremely clear steps to reproduce the bug!\n"}]}
0
Support us on Patreon to remove ads