By removing lp, the items are not deleted
By removing lp, the items are not deleted. This prevents the editing of quizz that were in the lp.
I found the solution by changing the line 902 in learnpath.class.php
enable search == false
But I do not understand the reason for this condition
Updated by Ivan Tcholakov over 9 years ago
- Status changed from Assigned to Needs more info
- % Done changed from 0 to 80
I tried to reproduce what has been described, it is not observed now.
On my testing system (current development code) when a LP is deleted its items are deleted too.
If a deleted LP-item is test-type, then the corresponded test is unblocked for modifications.
I looked at the code carefully - there are commands for deletion in TABLE_LP_ITEM and TABLE_LP_ITEM_VIEW.
There was an obsolete TODO which I removed.
13434:11972add706f Bug #2038 - Removing a misleading TODO that has been implemented in the past (learnpath.class.php, line 903).
There was a suggestion from Christophe, nickname:clefevre more than a year ago:
Ok for closing this task?