Unable to override final controller classes

Created on 28 October 2024, 18 days ago

A recent commit (3cd91cf08edd72877636f1183bc36b6463a6056a) included in the 5.0.13 hotfix release marked a number of controller classes as "final". This obviously makes it so these controllers can not be overwritten or extended. This is not a minor change and breaks compatibility with any module that customizes the default behaviour of these controllers. Can this change please be reverted?

For example, our organization extends the Drupal\o365_sso\Controller\UserLoginController class to change the way that O365 accounts are matched to local accounts and which roles they're granted.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇨🇦Canada Brownell Toronto, Ontario

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024