#35099: Combining QuerySets with "|" or "&" mutates right-hand side.
-------------------------------------+-------------------------------------
     Reporter:  Alan                 |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Alan):

 Replying to [comment:2 Mariusz Felisiak]:
 > Does it work for you? Would you like to prepare a patch? (a regression
 test is required).

 It does work for me, the test now passes correctly after applying cloning
 the rhs.

 Regarding the patch, I've never contributed to Django, so it may take
 quite a while for me to get familiar with what's required. If you could
 point me to the key resources on how to do that, I may take a shot on a
 weekend.

 I found a "Submitting a patches" in Django doc. I need more guidance on
 how to cover this case with regression tests. I would highly appreciate
 some references to take a look at.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:3>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018cf2bbb607-e028afbe-77ea-48f8-bb38-d92fe0521ee4-000000%40eu-central-1.amazonses.com.

Reply via email to