CHUNITHM - Cannot save player data if player name is "true" or "false" #65

Closed
opened 2023-11-08 17:24:53 +00:00 by beerpsi · 2 comments
Contributor

I'm guessing it's because of this line which fixes any stringly-typed boolean to boolean types.

By "fixing" booleans for the userName field, the code has inadvertently converted it to the wrong type bool instead of str.

I'm guessing it's because of [this line](https://gitea.tendokyu.moe/Hay1tsme/artemis/src/branch/develop/titles/chuni/schema/profile.py#L406) which fixes any stringly-typed boolean to boolean types. By "fixing" booleans for the `userName` field, the code has inadvertently converted it to the wrong type `bool` instead of `str`.
Owner

Well, that's hilarious. Fixing this now

Well, that's hilarious. Fixing this now
Hay1tsme added the
bug
chuni
chusan
wip
labels 2023-12-10 22:38:43 +00:00
Hay1tsme added
testing
and removed
wip
labels 2023-12-10 22:41:15 +00:00
Owner

This was fixed (kinda lazily, but fixed none the less) a while ago, closing

This was fixed (kinda lazily, but fixed none the less) a while ago, closing
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#65
No description provided.