TakaOtaku / Digimon-Card-App

Website to keep track of your Digimon Card Collection and Build Decks with it.
MIT License
29 stars 16 forks source link

Cards disappear when I try to increase their amount #531

Closed Ralkias closed 8 months ago

Ralkias commented 8 months ago

I've tried increasing the amount of some cards that I have in my collection. But when I pressed the + button in collection mode, instead of the number increasing, the card just.. disappeared. Not just out of my collection, but apparently from the account. When I look for them in the searchbar, there are no results. When I scroll down to look for them manually, or if I filter for them, the cards are just not there. Not even alternate forms. This issue is new to me, as everything worked perfectly up until today. It isn't an issue with every card either. Some still work normally, others are deleted whenever I try it. I tried restarting my device, swapping the browser, swapping the device, relogging, trying a different internet access - the cards are still non-existant.

They do exist on other accounts, and I can increase the amount of cards there without an issue. But with my account, it just deletes the cards when I try.

TakaOtaku commented 8 months ago

Could you tell me which cards are affected and maybe send me your profile link?

Increasing the card count for the collection and for the deck seems to work just fine. I did push an update today, so it probably is the culprit, but I can't reproduce your error at the moment. image

TakaOtaku commented 8 months ago

Another helpful thing would be if you press F12 and open the console like in the image: image

If you then see a red message in the console, you could post a screenshot here.

Sorry for the trouble

Ralkias commented 8 months ago

Screenshot 2024-03-07 134841

https://digimoncard.app/user/3D0DfX17s8ZKOBNKlTsMCOchDB52

Tried it again and it just deleted my BT4-026 Gaogamon cards. Some other cards I remember being deleted were BT4-10 Fugamon, BT4-22 Sangomon and BT4-36 Falcomon. Possibly more, I tried just clicking on random cards before and can't remember all of them. Other cards seem to work just fine tho. I can increase BT4-009 Flamemon all I want, for example.

TakaOtaku commented 8 months ago

Thank you I am gonna check it out and see whats wrong :)

TakaOtaku commented 8 months ago

I think I have found the error. The Problem is probably the new Setting for the Max Collection Filter, which I added. I have just released a new version, which you should be able to test in a few minutes.

Ralkias commented 8 months ago

Nope, the issue still remains. But it really seems to be a problem with the amount of cards, because they vanish as soon as I try to increase it beyond 5. Anything below that is not an issue.

TakaOtaku commented 8 months ago

Then it could be a filter issue, could you open the settings change Collection Filter Max to any number 5 should be the default and then save setting. I was just able to replicate it by removing the Collection Filter Max Number and saving the settings, then if you go over 5 it just gets filtered out.

TakaOtaku commented 8 months ago

Gonna work on a correct fix right away though.

Ralkias commented 8 months ago

Then it could be a filter issue, could you open the settings change Collection Filter Max to any number 5 should be the default and then save setting. I was just able to replicate it by removing the Collection Filter Max Number and saving the settings, then if you go over 5 it just gets filtered out.

I deleted the number (5), saved, typed in 5 again, saved - and now they are all back. I don't know how, but everything works fine now. Thanks for the help :)

TakaOtaku commented 8 months ago

Okay great, thanks for reporting the error :D I also have pushed a permanent fix so that it won't repeat, if you have another bug or feature just open an Issue i will try to add it :D