Opened 5 years ago
Last modified 5 years ago
#32107 closed Bug
repr of ProtectedError/RestrictedError raised from Collector.collect is not fully informative — at Initial Version
| Reported by: | Kwist | Owned by: | nobody | 
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.1 | 
| Severity: | Release blocker | Keywords: | database delete ProtectedError RestrictedError | 
| Cc: | Hasan Ramezani | Triage Stage: | Ready for checkin | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
("Cannot delete some instances of model 'A' because they are referenced through protected foreign keys: 'A.protect', 'B.protect'.", <itertools.chain object at 0x7f96b5cb6c40>)
      
  Note:
 See   TracTickets
 for help on using tickets.
    
Patch