Delete confirmation page in Admin displays circular references.
|Reported by:||benreynwar||Owned by:||carljm|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A very minor bug, but also I think easy to fix. The current delete confirmation page in the admin application will display the same object multiple times if there are circular references. e.g. If we have two objects that reference each other with foreign keys then the list of dependent objects to be deleted that is displayed would be-
-object1 -object2 -object1 -object2 etc.
I think it would be better if it only displayed the first object1 and object2.
I have attached a small patch that appears to do this.
Change History (13)
Changed 7 years ago by benreynwar
comment:1 Changed 7 years ago by Alex
- Needs documentation unset
- Needs tests unset
- Patch needs improvement set