Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293250

JSON:API is typehinting LatestRevisionCheck because there is no Entity Revision Access API yet, remove that typehint once such an API exists

$
0
0

This module causes a fatal error on cache rebuild when the patch from https://www.drupal.org/project/group/issues/2906085 is applied. This happens because the method in Drupal\jsonapi\Access\EntityAccessChecker::setLatestRevisionCheck() uses a Drupal\content_moderation\Access\LatestRevisionCheck object instead of the corresponding interface. This makes the method much more difficult to override. At a glance, it looks like using AccessInterface here should work fine. So I'm going to attach a patch that does that.


Viewing all articles
Browse latest Browse all 293250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>