Skip to main content
5 events
when toggle format what by license comment
Jul 17, 2022 at 7:39 comment added avpaderno Yes, EntityAccessControlHandler::access() tries to retrieve the access value from its static cache. The same issue could happen to any code that creates an entity and calls its access() method without first saving the entity.
Jul 17, 2022 at 4:28 vote accept Kevin
Jul 16, 2022 at 17:54 comment added 4uk4 This is only required for testing. In a normal request your implementation should work without problems because the static cache doesn't persist between requests.
Jul 16, 2022 at 17:40 comment added Kevin Yeah, this also does it. Is this required for testing, or is the implementation not quite right?
Jul 16, 2022 at 16:42 history answered 4uk4 CC BY-SA 4.0