fix(webapp): a player can't rename an item that isn't identified yet (#912) #913
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/912-unidentified-rename"
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?
Closes #912.
The problem.
PATCH /lore/{id}accepted a non-GM'stitlefor an item that isn't identified yet. The player sees the party's name for it (player_title), so a save could overwrite the real title.The fix. It sits inside the existing non-GM branch, before the split between editing directly and suggesting, so the suggestion path is covered too:
Tests (in
test_wiki_edit_api.py):Checks:
tests/wiki/: 518 passed.🤖 Generated with Claude Code