Describe the bug
When the mana value of a card is set to NaN, (e.g. a semicolon), the API allows this invalid data to be changed. Upon fetching the card again, it is no longer displayed in the Cube List. It is present in the API response and accounted for in the list total (e.g. Lands (23)) but it is not present in the list. The lack of visibility makes it impossible to revert the unintended change.
To Reproduce
Steps to reproduce the behavior:
Go to a cube list
Edit Card
Set Mana value to ;
Expected behavior
An error and/or for the value to revert from the invalid input to the previous value.
Additional context
Example cube id: 0abfad63-7751-449f-9cdb-2ac582804495
note that the land count is 23 but there are only 22 lands displayed.
Describe the bug When the mana value of a card is set to NaN, (e.g. a semicolon), the API allows this invalid data to be changed. Upon fetching the card again, it is no longer displayed in the Cube List. It is present in the API response and accounted for in the list total (e.g. Lands (23)) but it is not present in the list. The lack of visibility makes it impossible to revert the unintended change.
To Reproduce Steps to reproduce the behavior:
Expected behavior An error and/or for the value to revert from the invalid input to the previous value.
Additional context Example cube id: 0abfad63-7751-449f-9cdb-2ac582804495