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

  1. Fork the current 4.1.x Branch as 4.2.x
  2. declare compatibility to ^11.4 | ^12
  3. Release 4.2.x
  4. Revert 5372650b in 4.1.x.
  5. Release 4.1.5
Command icon 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

hosterholz created an issue. See original summary.

fathershawn made their first commit to this issue’s fork.

fathershawn’s picture

Confirmed - linked the core issue. No CR for it!?

fathershawn’s picture

Issue summary: View changes

  • fathershawn committed 8269d08a on 4.1.x
    fix: #3612966 Fatal error after update to 4.1.4
    
    By: hosterholz
    By:...

  • fathershawn committed afa6a5e2 on 4.2.x
    fix: #3612966 Drupal 11.4 or higher is required for 4.2.x
    
    By:...
fathershawn’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.