Changes between Initial Version and Version 5 of Ticket #28408
- Timestamp:
- Apr 1, 2019, 2:39:04 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28408
- Property Component Error reporting → Database layer (models, ORM)
- Property Owner set to
- Property Triage Stage Unreviewed → Accepted
- Property Summary Inconsistant error message for trying to update an annotated F expression → Incorrect error message with QuerySet.update() that requires a join on an annotated F expression
- Property Type Uncategorized → Bug
- Property Cc added
- Property Has patch set
- Property Needs documentation set
- Property Version 1.11 → master
-
Ticket #28408 – Description
initial v5 38 38 }}} 39 39 40 Spent a while trying to debug where it was going wrong, ended up narrowing down the problem to trying to update a field using an `F` expression on an annotated field which included a join in it. I'm not sure if better error message would have helped in my case but in the much simpler test attached it'd be us feul if the first and second assertions raised the same or similar error message.40 Spent a while trying to debug where it was going wrong, ended up narrowing down the problem to trying to update a field using an `F` expression on an annotated field which included a join in it. I'm not sure if better error message would have helped in my case but in the much simpler test attached it'd be useful if the first and second assertions raised the same or similar error message.