Function _book_parent_depth_limit from book.module (line 931) sends an array to MenuLinkStorageController->findChildrenRelativeDepth, which expects an EntityInterface.

This produces three Notices and one Recoverable fatal error.

Files: 
CommentFileSizeAuthor
#1 drupal-book_array_to_menu_link_entity-1912706-1.patch742 bytesgrisendo
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch drupal-book_array_to_menu_link_entity-1912706-1.patch. Unable to apply patch. See the log in the details link for more information. View

Comments

grisendo’s picture

Status: Active » Needs review
FileSize
742 bytes
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch drupal-book_array_to_menu_link_entity-1912706-1.patch. Unable to apply patch. See the log in the details link for more information. View

I attach a patch

Status: Needs review » Needs work

The last submitted patch, 1: drupal-book_array_to_menu_link_entity-1912706-1.patch, failed testing.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.