Skip to content

Invalid Search Paths and Missing/Corrupted Cards #357

@nosyrbllewe

Description

@nosyrbllewe

I noticed that the path https://schoolido.lu/api/cards/?search=&page=7&name=Sakurauchi+Riko&rarity=ur gives me an error:
image

While at first thought, I would assume it is just does not exist, it seems that the search page before and after it (pages 6 and 8) both exist and each refer to the erroring page 7 as either the next or previous page respectively.

https://schoolido.lu/api/cards/?search=&page=6&name=Sakurauchi+Riko&rarity=ur
image

https://schoolido.lu/api/cards/?search=&page=8&name=Sakurauchi+Riko&rarity=ur
image

I suspect that this issue is related to corrupted or missing cards, such as #3604. Though, ideally it should just return a null value for a card instead of breaking the entire search.
https://schoolido.lu/api/cards/3604/ (This page also fails like above).
image

The cards that I have noticed to be broken are 3604, 3605, 3640, and 3641.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions