When using the module with jsonapi core module we have a problem related with the last LatestRevisionCheck service:

TypeError: Argument 1 passed to Drupal\jsonapi\Access\EntityAccessChecker::setLatestRevisionCheck() must be an instance of Drupal\content_moderation\Access\LatestRevisionCheck, instance of Drupal\gcontent_moderation\Access\LatestRevisionCheck given in /var/www/html/build/core/modules/jsonapi/src/Access/EntityAccessChecker.php on line 150 #0 [internal function]: Drupal\jsonapi\Access\EntityAccessChecker->setLatestRevisionCheck(Object(Drupal\gcontent_moderation\Access\LatestRevisionCheck))
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

hernani created an issue. See original summary.

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

bramtenhove’s picture

Thanks for the patch. Tested it and now JSON:API can be installed successfully.

bramtenhove’s picture

bramtenhove’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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