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'

Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

Title: Jsonapi_extras is a dependency of entity_share 2.x » '@jsonapi.serializer_do_not_use_removal_imminent' not defined in jsonapi 2.x
Issue summary: View changes
erickbj’s picture

Seems 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.

erickbj’s picture

The attached patch should solve it.

erickbj’s picture

Status: Active » Needs review

Marking as needs review.

grimreaper’s picture

Status: Needs review » Reviewed & tested by the community

Hello,

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!

  • erickbj authored b6b1dfb on 8.x-2.x
    Issue #3033707 by erickbj, SocialNicheGuru, Grimreaper: '@jsonapi....
grimreaper’s picture

Status: Reviewed & tested by the community » Fixed

Merged.

renatog’s picture

Status: Fixed » Needs work

;

renatog’s picture

Status: Needs work » Fixed

Sorry! It's works good using the last version of jsonapi!

Thank you very much and good Week.

Best,

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.