#36911: Raise an error when GeneratedField provided to fields argument of
bulk_update()
-------------------------------------+-------------------------------------
     Reporter:  jaffar Khan          |                    Owner:  (none)
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  bulk_update          |             Triage Stage:
  GeneratedField                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * resolution:   => wontfix
 * status:  new => closed
 * summary:
     bulk_update() incorrectly allows updating GeneratedField (silent
     failure on SQLite)
     =>
     Raise an error when GeneratedField provided to fields argument of
     bulk_update()

Comment:

 Thanks for the ticket, but `bulk_update()` behaves the same as `update()`
 here, which has silently skipped GeneratedFields since their introduction.
 I also don't see a way to get `OperationalError` on other databases.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36911#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/0107019c434bf68a-2795eb0a-be72-447d-bb11-fde148160209-000000%40eu-central-1.amazonses.com.

Reply via email to