Steps to replicate the bug:
1) Enable the Book module.
2) Create a Book page, Make it Top Level - page1
4) Create another Book page, Make it a child of page1.
5) Enter in the Title => [She said, "Hi, I'm Eunice"] (everything inside the square brackets is entered, including the double quotes)
6) Administer > Content Management > Books > the_book_page1 : Edit Order and Title
The book page which has the title containing the double quotes, now has an incorrect title, and after reordering, and saving the changes, the auto alias got confused, and somehow, there are some extra nodes generated.
The user might enter such a title, and it could mess up the system, especially when extra nodes are generated.
Is there anyway to handle this issue? (Probably by filtering the double quotes in the title during submission or .. ? )
I did search there for a "double quote" issue under Drupal project, but no hits at all. (I tried searching on all modules after a search on just the book module)
Pathauto is not the culprit since either a Book Page, or any other content type can be created with it's title containing double quotes, and a valid URL alias is created.
The issue only comes up during the reordering of the book's pages. The title which contains the double quotes does not even appear right in the Reorder page. The text input field containing that title actually appears blank.
Thanks in advance.
regards,
thepiano
Comments
Comment #1
gpk commentedDuplicate of #277620: Cannot have double quotes in book page title (title disappears when editing book hierarchy). See also http://drupal.org/node/317298#comment-1045785 for example of the bug with pathauto disabled.