Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors updating an existing puzzle due to title supposedly being empty #2373

Closed
jpd236 opened this issue Dec 15, 2024 · 1 comment
Closed

Comments

@jpd236
Copy link
Contributor

jpd236 commented Dec 15, 2024

A user on our team reports trying to update a puzzle's tags and getting an error:

ZodError · [ { "code": "too_small", "minimum": 1, "type": "string", "inclusive": true, "exact": false, "message": "String must contain at least 1 character(s)", "path": [ "title" ] } ]

coming from the Puzzles.updateAsync(puzzleId, update)` call in imports/server/methods/updatePuzzle.ts. The puzzle already has a title and presumably isn't being cleared intentionally, so it seems like something is going wrong internally with the update. FWIW it seemed to happen right after I restarted the Docker JR instance but that could be a coincidence.

Could theoretically be related to my pending changes.

@jpd236
Copy link
Contributor Author

jpd236 commented Dec 21, 2024

Looks like this was a regression due to #2287. Closing this out and will comment there.

@jpd236 jpd236 closed this as completed Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant