Why is tasklist modifying the book table ?
scor - March 16, 2007 - 23:45
| Project: | Tasklist |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I was trying to sort my tasks on a drupal5 website, and I saw appearing the same structure as a book at the bottom of my tasklist. It was also inconsistant, the only links appearing being the one of the tasks I just modifyed. So I looked at the SQL queries log appearing after editing a task, and found out a strange query in the book table:
UPDATE tasks SET order_by = 1 WHERE nid = 3
UPDATE book SET parent = 2, weight = 0 WHERE vid = 3There are also many queries in the book table when displaying the tasklist.
A bit further, if I check the 'create revision' box, I see
INSERT INTO book (nid, vid, parent, weight) VALUES (3, 4, 2, 0)so for each revisions there is a new record in the book table.
comparatively, when I create/edit/revise a page, there is no insert/update of the book table.
I find it weird that the tasklist module has to mess up with the book table. Is that normal ?

#1