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: null-key always written into viur-relations #1238

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

phorward
Copy link
Member

@phorward phorward commented Aug 15, 2024

Don't write the "key" value, which is always None, into the src-property of viur-relations. The key is encoded into the embedded Entity and used this way everywhere, respective using src.__key__ in queries.

This is only a minor bug, as it didn't influence that viur works properly, but it was annoying during debug.

Relates to #1236 + #1237

This is only a minor bug, as it didn't influence that viur works properly, but it was annoying during debug.
@phorward phorward added bug(fix) Something isn't working or address a specific issue or vulnerability Priority: High After critical issues are fixed, these should be dealt with before any further issues. main labels Aug 15, 2024
@phorward phorward added this to the ViUR-core v3.6 milestone Aug 15, 2024
@phorward phorward merged commit bddd2d8 into viur-framework:main Aug 20, 2024
4 checks passed
@phorward phorward deleted the fix-null-key-in-viur-relations branch August 20, 2024 22:12
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 main Priority: High After critical issues are fixed, these should be dealt with before any further issues.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

viur-relations entities with src=null resulting AssertionError in Skeleton.processRemovedRelations
2 participants