Closed (fixed)
Project:
OAuth2 Server
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2021 at 09:54 UTC
Updated:
21 Oct 2021 at 18:44 UTC
Jump to comment: Most recent
Comments
Comment #3
dwkitchen commentedComment #4
jatin12novI fails with 9.1.11.
Error: Error: Interface 'OAuth2\OpenID\Storage\AuthorizationCodeInterface' not found in include() (line 19 of /app/docroot/modules/contrib/oauth2_server/src/OAuth2StorageInterface.php)
Comment #5
cafuego commentedThis is a duplicate issue, closing in favour of #3187764: Module uninstalled during upgrade to Drupal 9 due to entity_reference.
Comment #6
dwkitchen commentedI have re-opened this issue as the patch here is more complete than the one on #3187764: Module uninstalled during upgrade to Drupal 9 due to entity_reference as it fails tests.
Comment #7
fjgarlin commentedThis was blocking my update to D9.2.5, all driven by composer. After applying the patch, everything went through without issues.
Marking as RTBC.
Comment #8
gappleI don't see a reason to remove compatibility with 8?
Not having a release that's marked as compatible with both D8.9 and D9 makes updating a site additional effort.
Comment #9
fjgarlin commentedAgree, added D8 compatibility back which should make easier updates from D8 to D9. I didn't know that the edits would go against the fork branch directly, but it's a small change so hopefully it will be ok.
Comment #10
dwkitchen commentedBy removing the dependency on entity_reference, the module is no longer compatible with Drupal 8.
Comment #11
fjgarlin commentedMy understanding is that the module's code was fully extracted and moved to core long ago (https://git.drupalcode.org/project/drupal/-/blob/8.8.x/core/modules/enti...), so it should be safe to disable that module.
I think it is actually part of the D9 update hooks (https://git.drupalcode.org/project/drupal/-/blob/9.3.x/core/modules/syst...)
I'm not entirely sure how it's breaking compatibility with D8.
Comment #12
dwkitchen commentedAh, that's how we did it, the module was left in but didn't do anything.
We could have removed the dependency long ago!
Comment #13
dwkitchen commentedComment #15
sanduhrsGreat, thanks all!