[OGo-Bugs][Bug 1976] deleting contatcts, enterprises or tasks, does not delete records from the obj_link table
bugs@opengroupware.org
bugs@opengroupware.org
Thu, 22 May 2008 16:23:52 +0200 (CEST)
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1976
------- Additional Comments From awilliam@whitemice.org 2008-05-22 14:53 -------
not a dup; bug#1975 relates to *notes*, this bug relates to links.
In the cast of bug#1975 there is code in at least several of the delete
operations to unattach or delete notes; there doesn't seem to be any logic to
delete related links when an object is deleted.
This is no object-link deletion in -
LSDeleteCompanyCommand
LSDeleteDocumentCommand
LSDeleteAppointmentCommand
LSDeleteProjectCommand
LSDeleteJobCommand
In all these commands the executeInContext calls [super
_executeInContext:_context] and all are children of LSDBObjectDeleteCommand.
Don't know if it would be possible to add link deletion to
LSDBObjectDeleteCommand so that it just-always-happens.
Also should look into what deletions clear out object properties (at least jobs
do) and if any leave those behind.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.