When the book module gets uninstalled the content type book remains and also it's content. So all book pages are still present and you can also create new ones, although the modue is disabled
Only allow uninstalling of the Book module if no nodes exist that are in books and no nodes of type book exist. Then through an enforced dependency on the Book module remove the node type during uninstall.
User interface changes
Add method on book outline storage to detect if there are books.
Original report by doka
On a fresh RC2, enable the book module, and create few book pages. Then delete these nodes, and disable and uninstall the book module. After that new book pages can be still created, since content type book page remains available after uninstall of the bookmodule. Expected behaviour is that the content type, which was initilized by the book module, get's also deleted upon uninstall of the module.
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,744 pass(es). View
|#43||1002164.43.patch||10.65 KB||Devin Carlson|
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,735 pass(es). View
|#43||interdiff-1002164-40-43.txt||707 bytes||Devin Carlson|
|#40||1002164.40.patch||10.63 KB||Devin Carlson|
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,682 pass(es), 1 fail(s), and 0 exception(s). View