#36773: ManyToMany related manager .count() returns 0 while .all().count() 
returns
correct value (Django 5.2.9 and 6.0.0)
-------------------------------------+-------------------------------------
     Reporter:  Daniel Davtyan       |                    Owner:  (none)
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  6.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  needsinfo
     Keywords:  count, django, orm   |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Hello Daniel,

 This could be a legitimate regression but without a proper set of models
 instructions to reproduce it's impossible for us to assess.

 As you might have notice both c3a23aa02faa1cf1d32e43d66858e793cd9ecac4 and
 66e47ac69a7e71cf32eee312d05668d8f1ba24bb include tests covering scenarios
 where the code behaves as expected so you might have run into particular
 scenario that isn't covered yet, or you might be using a third-party app
 that misbehaves, or something else might be at play here.

 In other words, please help us help you, there is not much we can do with
 the little details you've provided so far.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36773#comment:2>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019ae9e9e015-a68127f1-ffc3-4f9e-9d45-0ec5e95acef5-000000%40eu-central-1.amazonses.com.

Reply via email to