2.0 KiB
2.0 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| b1eb1655-e006-447d-a0cf-bba7a914b331 | workflow | PR review: paper-dynasty-database#35 — remove dead roster CSV fields |
|
0.4 | 0.8 | 2026-03-03T18:35:29.790614+00:00 | 2026-03-03T19:33:19.943378+00:00 |
|
PR Review: paper-dynasty-database#35
Verdict: APPROVED (posted as COMMENT — Gitea blocks self-approval)
Fix: Removed non-existent roster1.name, roster2.name, roster3.name attribute accesses from v1_cards_get_one CSV branch in app/routers_v2/cards.py (lines 144–146).
Confirmed: Card model in db_engine.py (lines 472–491) has only player, team, pack, value fields. The removed attributes would have raised AttributeError on every ?csv=true request.
Pre-existing issue noted (out of scope): v1_cards_patch still accepts roster1_id, roster2_id, roster3_id params and assigns them to this_card (lines 332–337), but Peewee silently drops unknown attributes on save — no runtime error, just dead API surface.
Note: Gitea does not allow APPROVED reviews on your own PRs. Posted as COMMENT instead.