Server 500 error on multiple record deletion
|Assignee:||David Juhasz||% Done:|
|Target version:||Release 1.3|
|Google Code Legacy ID:||atom-2209||Tested version:|
To reproduce this error:
On my system, when trying to delete a record with multiple child
records, the server reports an error, and returns a blank page which
when reloaded shows that exactly half (rounded down to the next
integer) of the child records have been deleted. To delete the whole
set of children is therefore a time-consuming iterative process.
PHP Fatal error: Call to a member function getTitle() on a non-object
in /var/www/vhosts/.../ica-atom/lib/QubitSearch.class.php on line 421
[g] Legacy categories: Search / browse
#8 Updated by David Juhasz almost 10 years ago
I think this is a problem with deleting related QubitRelation objects (lib/model/QubitInformationObject.php lines 293 and 305). The QubitRelation::delete() method then tries to update the search index for the original QubitInformationObject (e.g. http://code.google.com/p/qubit-toolkit/source/browse/trunk/lib/model/QubitRelation.php#120).