Drupal\block\BlockRepository class should define contextHandler field. Currently it is created dynamically in the class constructor.

Comments

maximpodorov created an issue. See original summary.

rkostov’s picture

rkostov’s picture

Status: Active » Needs review

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.9 was released on November 6 and is the final full bugfix release for the Drupal 8.7.x series. Drupal 8.7.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.8.0 on December 4, 2019. (Drupal 8.8.0-beta1 is available for testing.)

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

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

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

larowlan’s picture

Version: 8.9.x-dev » 9.3.x-dev
Issue tags: +Bug Smash Initiative
larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Confirmed that there is no contextHandler property on this class and that it doesn't extend another class that defines it. Similarly it doesn't use any traits that define it.

  • catch committed 0e61d21 on 9.4.x
    Issue #3056409 by rkostov, larowlan, maximpodorov: BlockRepository::...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.4.x and cherry-picked to 9.3.x, thanks!

  • catch committed 92e176d on 9.3.x
    Issue #3056409 by rkostov, larowlan, maximpodorov: BlockRepository::...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.