Problem/Motivation
The latest minor release 4.1.4 breaks compatibility with Drupal 11.3 and lower while still declaring compatibility to ^10.2 ^11. After update the whole site breaks. You will see an unhandled exception.
Steps to reproduce
- Update oauth2_client to 4.1.4
- Go to /update.php or run
drush updb - See
Fatal error: Access level to Drupal\oauth2_client\Entity\Oauth2ClientListBuilder::getDefaultOperations() must be public (as in class Drupal\Core\Config\Entity\ConfigEntityListBuilder) in /var/www/html/docroot/modules/contrib/oauth2_client/src/Entity/Oauth2ClientListBuilder.php on line 66
Proposed resolution
- Fork the current 4.1.x Branch as 4.2.x
- declare compatibility to ^11.4 | ^12
- Release 4.2.x
- Revert 5372650b in 4.1.x.
- Release 4.1.5
Issue fork oauth2_client-3612966
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fathershawnConfirmed - linked the core issue. No CR for it!?
Comment #4
fathershawnComment #9
fathershawn