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

fix: RelationalBone.singleValueFromClient str-cast #1269

Conversation

phorward
Copy link
Member

singleValueFromClient is always a function working with str data. In this case, I wanted to provide a db.Key through a fromClient function, which raised an AssertionError. Why the heck. This always converts the key to a str. In case the key is invalid, if will fail later on.

singleValueFromClient is always a function working with str data. In this case, I wanted to provide a db.Key through a fromClient function, which raised an AssertionError. Why the heck. This always converts the key to a str. In case the key is invalid, if will fail later on.
@phorward phorward added the bug(fix) Something isn't working or address a specific issue or vulnerability label Sep 24, 2024
@phorward phorward added this to the ViUR-core v3.7 milestone Sep 24, 2024
@phorward phorward merged commit a0cb7fa into viur-framework:develop Sep 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability usability
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants