I get the following error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "entity_share_client.jsonapi_helper" has a dependency on a non-existent service "jsonapi.serializer_do_not_use_removal_imminent". in Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue() (line 31 of druapl8.6.9/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).
jsonapi 2.x does not have the service "jsonapi.serializer_do_not_use_removal_imminent"
Entity_share calls the service here:
entity_share/modules/entity_share_client/entity_share_client.services.yml:10: - '@jsonapi.serializer_do_not_use_removal_imminent'
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | entity_share-jsonapi_serializer_service_rename-3033707-4-D8.patch | 682 bytes | erickbj |
Comments
Comment #2
socialnicheguru commentedComment #3
erickbj commentedSeems like they've only renamed the service in jsonapi to not "mark" it as to be removed so soon: https://www.drupal.org/project/jsonapi/issues/3031210.
Comment #4
erickbj commentedThe attached patch should solve it.
Comment #5
erickbj commentedMarking as needs review.
Comment #6
grimreaperHello,
Sorry for the delay.
I am making a new dev environment for entity share and I got the error.
Patch solved it.
Thank you very much!
Comment #8
grimreaperMerged.
Comment #9
renatog commented;
Comment #10
renatog commentedSorry! It's works good using the last version of jsonapi!
Thank you very much and good Week.
Best,