Download & Extend

Notice: Undefined index: status in _block_rehash()

Project:Drupal core
Version:8.x-dev
Component:block.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Due to #1172560: The block X was assigned to the invalid region Y and has been disabled. it is possible that $block['status'] is used in _block_rehash() before it is ensured to exist.

Comments

#1

Status:active» needs review

A simple patch.

AttachmentSizeStatusTest resultOperations
block-rehash-1851530-1.patch1.68 KBIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch block-rehash-1851530-1.patch. Unable to apply patch. See the log in the details link for more information.View details | Re-test

#2

Status:needs review» needs work

The last submitted patch, block-rehash-1851530-1.patch, failed testing.

#3

Status:needs work» needs review

Hm, patch corrupt? Let's try again.

AttachmentSizeStatusTest resultOperations
block-rehash-1851530-3.patch1.71 KBIdlePASSED: [[SimpleTest]]: [MySQL] 48,793 pass(es).View details | Re-test
nobody click here