* cc: David Wobrock (added)
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
Comment:
Here is a draft [https://github.com/django/django/pull/15692 PR] with
failing tests.
Just a quick shot, trying to fix the issue with the approach of letting
the `IsNull` handle `Value` objects internally instead of `bool`s. But
that might have quite a large impact for such a small change.
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => David Wobrock
* needs_better_patch: 1 => 0
* status: new => assigned
Comment:
I used the same [https://github.com/django/django/pull/15692 PR] but
changed the approach a bit.
It's the most straightforward approach I could think of. Let me know what
you think :)
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:3>
Comment (by Simon Charette):
Shouldn't this be considered a release blocker since it's a bug in a newly
released feature in Django 4.0?
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:4>
* version: dev => 4.0
* severity: Normal => Release blocker
Comment:
Replying to [comment:4 Simon Charette]:
> Shouldn't this be considered a release blocker since it's a bug in a
newly released feature in Django 4.0?
Good catch! I missed that it's a new feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:5>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9f5548952906c6ea97200c016734b4f519520a64" 9f554895]:
{{{
#!CommitTicketReference repository=""
revision="9f5548952906c6ea97200c016734b4f519520a64"
Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"820b4e565a06eddacf9a8038dd7b83784c6e99da" 820b4e56]:
{{{
#!CommitTicketReference repository=""
revision="820b4e565a06eddacf9a8038dd7b83784c6e99da"
[4.1.x] Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.
Backport of 9f5548952906c6ea97200c016734b4f519520a64 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:8>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"4a86883e0a7ed349d7ce3e91bde5e8e321effa1f" 4a86883e]:
{{{
#!CommitTicketReference repository=""
revision="4a86883e0a7ed349d7ce3e91bde5e8e321effa1f"
[4.0.x] Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.
Backport of 9f5548952906c6ea97200c016734b4f519520a64 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33705#comment:9>