Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#1331 closed defect (fixed)

[magic-removal][patch] flatten_data method of ManyToManyField is broken with descriptor changes

Reported by: Tom Tobin <korpios@…> Owned by: Adrian Holovaty
Component: Core (Other) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The flatten_data method of ManyToManyField is currently broken in magic-removal (as of r2279), as the code attempts to use an old-style get_something_list method rather than the new-style descriptor and all(). The attached patch fixes this issue.

Attachments (1)

magic_removal-manytomany_flatten_data_fix.diff (709 bytes ) - added by Tom Tobin <korpios@…> 19 years ago.
fixes flatten_data method of ManyToManyField in magic-removal

Download all attachments as: .zip

Change History (3)

by Tom Tobin <korpios@…>, 19 years ago

fixes flatten_data method of ManyToManyField in magic-removal

comment:1 by Luke Plant, 19 years ago

Resolution: fixed
Status: newclosed

(In [2281]) magic-removal: Fixed #1331 - flatten_data method of ManyToManyField now
updated for descriptor changes. Thanks, Tom Tobin.

comment:2 by korpios, 17 years ago

Reporter: changed from Tom Tobin <korpios@…> to Tom Tobin <korpios@…>
Note: See TracTickets for help on using tickets.
Back to Top