Closed (fixed)
Project:
Book made simple
Version:
6.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Jul 2009 at 15:23 UTC
Updated:
15 Jan 2013 at 02:45 UTC
Hello,
the solution described in http://drupal.org/node/475550 works if you translate child pages of a book. But it causes problems when a node will be translated which is set to be automatically a book node. Then the newly created translation will not become a book (base) node but will rather be put into another one of the books as a child.
I found out that changing line 381 in book_made_simple.module from
if (isset($parentPage)) {
to
if (isset($parentPage) && $parentPage > 0) {
will fix this. Maybe this can be tested and be put into the next release...?
Comments
Comment #1
MarcElbichon commentedAdded in V2.2a
Comment #2
MarcElbichon commentedComment #3
scottrigby