Opened 12 years ago

Last modified 8 years ago

#18717 closed Bug

Setting attributes on deferred objects should trigger field's descriptor's __set__() — at Initial Version

Reported by: German M. Bravo Owned by: nobody
Component: Database layer (models, ORM) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Setting attributes on deferred objects (DeferredAttribute) should trigger original field's descriptor's set() (if any).
Currently, specially for custom fields set up as descriptors defining set(), the original field's set is never called when setting object attributes on deferred fields.

Change History (1)

by German M. Bravo, 12 years ago

Note: See TracTickets for help on using tickets.
Back to Top