#35235: ArrayAgg() doesn't return default when filter contains __in=[].
----------------------------------+--------------------------------------
     Reporter:  Per Carlsen       |                    Owner:  Sharon Woo
         Type:  Bug               |                   Status:  assigned
    Component:  contrib.postgres  |                  Version:  5.0
     Severity:  Normal            |               Resolution:
     Keywords:  ArrayAgg          |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Comment (by Sharon Woo):

 Sorry for the lack of progress, before I pushed more code into remote I
 wanted to get a debugger and the postgres tests running locally... and
 neither has led to much:

 1. I spent some time this morning setting up a simple app (branching off
 main at 561e16d6a7 and an empty postgres db, if it matters) to reproduce
 Felix's example before I make any further changes. However, instead of the
 mythical '{}', I always get None for `result` instead, no matter what I
 pass into default. I am going to step through a bit more here.

 2. I also spent some time looking into how to run the postgres tests
 locally (they are always skipped now using tox / runtests.py) -- better
 yet if I can step through the tests in a debugger, but haven't had any
 luck with resources. What I've done is searched in our favourite search
 engines and Discord, but lots of posts on general postgres/testing to sift
 through. Anyone?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35235#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018dcadf8fa2-801abd83-670e-4dbb-b7b5-e9973af7666f-000000%40eu-central-1.amazonses.com.

Reply via email to