ProtectedError/RestrictedError raised from Collector.collect contains iterators.
#27852
("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)
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
|
Cc: |
Hasan Ramezani 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
|
Has patch: |
set
|
Owner: |
changed from nobody to Hasan Ramezani
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Patch