Problem/Motivation
#2982133: No longer works with JSON API >=1.21 (so either 1.21 or 1.22) made changes to \Drupal\jsonapi_extras\JsonapiExtrasServiceProvider::alter(). It failed to take into account that during installation, default configuration is initially not available. This resulted in a PHP assertion failing, and hence installation failing.
My bad!
Proposed resolution
Only override the jsonapi.base_path container parameter if and only if the configuration is available.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2991767-2.patch | 705 bytes | wim leers |
Comments
Comment #2
wim leers#2986900-9: Unnecessary asserts break installation in distros that include JSON API already had a patch. Reuploading that here.
Comment #3
e0ipsoThis was fixed in a parallel issue: #2995142: Support includes the EntityToJsonapi service. Sorry for missing this :-(