ezsystems/ezpublish — pull request #374 by patrickallaert (2012-07-26 15:56:25+00:00)
Title: Fixed #019457: Trashpurge problems with related objects

Issue 19457 is caused by the fact that two objects cross referencing themselves and put in the trash are considered orphaned objects and therefore, to be removed by the code in charge of removing object relations.

Object pointed in an object relations are removed in the case they have no node_id because it is/was possible to have linked object that only exist in the frame of a relation.

A better approach would be to not take care of orphaned object by not removing them altogether, but make it possible to manage them in the admin interface in a separate way.