In http://drupal.org/node/1928082#comment-7128904) @sun points out that the duplicate key/value in book.settings:allowed_types kind of sucks. That patch made the following change.
- - book
+ book: book
In trying to resolve this issue I realised we actually have a much more important issue.
book_node_type_update()keeps book.settings in sync with node type changes. At the moment if you have two content types with machine names
pageas allowed types and then you change the
bookmachine name to
book_node_type_update()function will update book.settings:allowed_types to:
If you were then to go to admin/content/book/settings and press the save button without making any changes to the form book.settings:allowed_types will be updated to:
This means you will end up with unexpected config changes which is a bad thing(tm).
PASSED: [[SimpleTest]]: [MySQL] 53,124 pass(es).
[ View ]
PASSED: [[SimpleTest]]: [MySQL] 52,579 pass(es).
[ View ]