#32107 closed Bug (fixed)
ProtectedError/RestrictedError raised from Collector.collect contains iterators.
Description (last modified by ) ¶
("Cannot delete some instances of model 'A' because they are referenced through protected foreign keys: 'A.protect', 'B.protect'.", <itertools.chain object at 0x7f96b5cb6c40>)
As a result, the repr
of exception in Sentry is not informative.
Change History (7)
by , 4 years ago
Attachment: | objects.patch added |
---|
comment:1 by , 4 years ago
Description: | modified (diff) |
---|---|
Summary: | repr of ProtectedError/RestrictedError raised from Collector.collect is not fully informative → ProtectedError/RestrictedError raised from Collector.collect has iterator as protected_objects/restricted_objects |
comment:2 by , 4 years ago
Cc: | added |
---|---|
Severity: | Normal → Release blocker |
Summary: | ProtectedError/RestrictedError raised from Collector.collect has iterator as protected_objects/restricted_objects → ProtectedError/RestrictedError raised from Collector.collect contains iterators. |
Triage Stage: | Unreviewed → Accepted |
Type: | Cleanup/optimization → Bug |
Version: | master → 3.1 |
Thanks for the report.
Regression in 4ca5c565f4dc9e97845036e86416abc5cfde766c and ab3cbd8b9a315911248227208630a020cedca08f.
comment:4 by , 4 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Patch