Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Fix replaced instance being used when pk-only optimization raises AttributeError#5747
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Fix replaced instance being used when pk-only optimization raises AttributeError#5747
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Not sure if this is the right place to put the test or where the situation comes up in the real world when not using ORM hacks (like how we found it), but it *does* test the thing.
xordoquy commentedJan 16, 2018
Hi, |
ryan-copperleaf commentedJan 16, 2018
|
carltongibson left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hi@ryan-copperleaf. Thank you for this. What a horrible little bug.
Uh oh!
There was an error while loading.Please reload this page.
Not sure if this is the right place to put the test or where the situation comes up in the real world when not using ORM hacks (like how we found it), but itdoes test the thing, and the thingis broken in a case that it appears to be intended to handle.