After update from 7.36 to 7.37 a lots of problems with book-pages came up:
1. When creat a new book-page Page link does not show up in menu block "Book explorer navigation" - menu
2. error message on all new book-nodes = Notice: Trying to get property of non-object i node_page_title() (rad 2200 av /mysite..etc /modules/node/node.module).
3. Impossible to translate any Book-pages - 100% error each time ( but possible to make a translate-link separately between two different languages pages created in each language )
I think release 7.37 have something wrong in code for book-page or book-node title - who makes some book-node page title failure, sorry that can't say what? (need more skill :=) 4 that )
I went back to version 7.36 and the problem disappeared + the links - who was invisible in 7.37 came back.
(I did use DP 7.36 on a copy from Database from 7.37 - who had malfunction )
So is definitely some malfunction in the new code for DP 7.37 related to Drupal Book.
(Sorry 4 that this kick me back to use DP7.36 until fixed)
Hope anyone with enough skill is wise and helpful - thxs in advance
| Comment | File | Size | Author |
|---|
Comments
Comment #1
David_Rothstein commentedI tested the Book module after updating from Drupal 7.36 to Drupal 7.37 and don't see any problems.
Any other information you can provide about what might be happening on your site? Do you have any contrib modules installed that might interfere with the way Books work?
When you go to admin/structure/types does the Book Page content type appear there?
Comment #2
göran commentedSorry for time, had my attention on my DP7.36-site-work.
Answer: No contrib modules installed. No problem with admin/structure/types.
Question: In your try, did you update a book from 7.36 with some pages and and then ad more pages after upgrade?
- I will soon try with an empty Drupal core, with exactly same Module setting - and set up new book-page structure with 4 levels - after upgrade to DP 7.37 and see if some differences.
Now I also have error message on page, maybe related to the problem? :
Notice: Trying to get property of non-object i node_page_title() (rad 2200 av /Volumes.../modules/node/node.module).Thanks for your reply
Comment #3
göran commentedStill not working when try with an empty site
I have recreated the problem in empty site with a created Feature of the "4 book levels Content types" from original site.
I can send the Empty site with only one node created to you for further investigation- please let me know,:
1. Database of site (Account user 1 = Admin/demo)
2. My "all" folder with themes and all modules + libraries-folder
3. My Feature of the books content types including all fields but not the translations - included in the "all.zip" -folder as module named: "export_inbjudan_inneh_llstyp"
The points 1 to 3 is in one zip-file, attached: DP737_problem.zip
If set up this on drupal site it will work fine on drupal 7.36 but not on dp 7.37 ( I hope i not have forget any setting for the book etc)
Comment #4
göran commentedComment #5
David_Rothstein commentedThanks, providing a database dump and codebase can be very helpful in reproducing problems!
Unfortunately, when I tried this out I couldn't get any of the above to work at all on Drupal 7.36 either. The "Book explorer navigation" did not seem to be working for me on 7.36, and I didn't see translate links either. (It is possible I was doing something wrong, though; it was not obvious for me to understand how the site is supposed to work.)
You said "no" in response to this question:
But I think it wasn't clear what I was asking? You are definitely using a large number of contrib modules, including many that are book-related (book_access_ui, book_explorer, book_helper, book_made_simple, book_access). I think it is much more likely that one of these contrib modules is causing the problem, rather than anything with Drupal core. The core Book module hasn't had any changes between 7.36 and 7.37.
If the problem occurred after an upgrade from 7.36 to 7.37 it could be that a cache clear triggers it? (If you visit update.php after going from 7.36 to 7.37 that executes a cache clear on the site.) Sometimes a cache clear reveals preexisting bugs. You could try clearing caches on 7.36 and seeing if that reproduces the issue also.
Regarding "Notice: Trying to get property of non-object in node_page_title()" that looks like a core issue (#1697570: _menu_load_objects() is not always called when building menu trees); it could have something to do with the other problems you're experiencing, although I don't know. It has been around much longer than 7.37 though. And I also saw that when running the copy of your site on Drupal 7.36.
I will leave this open and maybe someone will be able to help you out, or if you can come up with simple steps to reproduce the problem... Right now I think it's unlikely the issue was introduced by 7.37 core, although it is possible.
Comment #6
David_Rothstein commentedActually I guess you addressed the question of whether it could have had something to do with a cache clear here:
If so then it can't be due to a cache clear.
Comment #7
göran commentedThanks so fare, and excuse me for the misunderstanding on "contrib"-module (I thought it was a module-name)
I hope this issue can come to solution, and its also that I have found more error after this issue was made, even in DP-7.36.
The moment I did report "bug" i was in the belief that couldn't be something else, just because my Knowles on Back-end is to low and the differences betwen the versions was so clear at that moment.
I really appreciate the time you have taken in this issue and Sincerely apologize if it was wasted. I hope to find solutions, and have read a lot in isseus about the book "contrib" module (know I understand the word..lol) , in hope to find solutions.
Hope we will come to what's wrong, because book function really need "book_mad_simple" to work in costumer end solutions and it's first time i did take the courage to try to use the "book" with difficulty to find information and knowles in this subject...
( idiotic name googling on - to may books out there)
I suggest a better name then "book" maybe "drupal_book" in the future release? ( I know - this is a sidestep)
Super thanks - so fare
Comment #8
göran commentedBy closing nearly all Book contrib modules the detected "bug"-problem disappeared when upgrade from DP7.36 to DP7.37.
By that I will close this subject, with knowles that it is related to malfunktion in one ore more of the book contrib modules.
Thanks a lot for all assist!
Comment #9
David_Rothstein commentedGöran, thanks for following up, and no worries! It was not a waste of time, and I'm glad you were able to solve the issue :)
If you ever track down more specifically which contrib module caused the problem, you could also reopen this issue (and move it to the issue queue for that module).
Comment #10
göran commentedVery many thanks for your assistant.
I will try to pinpoint the problem later, but right now it has cost far too much of my time. Will return with a vengeance as soon as I know
Comment #11
göran commentedComment #12
sanoopuio commentedthis problem stiil exists , its affecting admin menu module and views menu . it happened in drupal core 7.38 (its upgraded drupal). yes it may be coming from some contributed modules