Problem/Motivation
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
Proposed resolution
When the module is uninstalled the same process as in NodeTypeDeleteForm should be used. The uninstall messagre says that all content of this node type is removed, so mabe this should happen, including the removing of the nod type itself.
Remaining tasks
Issue summary needs updating with issue summary template- write a patch matching against 8.0.x
- manual testing
- write an test
- backport to D7
User interface changes
None
API changes
None
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.