Character creation silently drops unknown skill/equipment names #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Medium (has caused real bugs twice)
`characterService.createCharacter` looks skills/equipment up by exact lowercase name and silently skips rows with no match:
When frontend constants drift from seeded reference data (this happened with CRPG_SKILLS and standard-kit items), users get characters with missing skills/gear and zero feedback.
Suggested fix
Log a warning server-side per skipped item; better, return created-vs-skipped lists in the API response and surface them in the UI. Consider upserting unknown names as custom rows (`character_equipment.custom_name` exists).
✅ Fixed:
createCharacternow logs a server-side warning per skipped skill/talent/equipment name (with character id), e.g.skipped unknown skill "Foo"✅ Fixed (commit
05b5453) — createCharacter logs per-item warnings for unknown skill/talent/equipment names, e.g.createCharacter: skipped unknown skill "Foo" for character <id>. Reference-data drift is now visible in container logs.