Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
action.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Apr 2024 at 10:28 UTC
Updated:
20 Apr 2024 at 08:14 UTC
Jump to comment: Most recent
Comments
Comment #2
andypostComment #4
andypostAs without Actions UI module the Action entity has no canonical link cache contexts are broken
Can't figure out why, looking for help
Comment #5
catch@andypost I think you could remove url.site from the expected cache contexts in the assertion?
Comment #6
andypost@catch sadly I can't figure out how to do that in child tests
Comment #7
catchhmm it will probably need changes to the base class so the child tests can then alter the expected cache tags.
Comment #8
andypostFixed by overriding method as
BaseFieldOverrideResourceTestBasedoingRest tests should be moved to System module nearby Menu entity, it was done in #2910883: Move all entity type REST tests to the providing modules
The only question is about
ActionTestwhich still looks slowComment #9
andypostComment #10
smustgrave commentedI elevated this to major since it's needed for action removal and that date is getting close.
Reviewed the change and moving of permission and tests seems fine, didn't break anything. Nothing stood out as a problem to me.
Comment #13
catchInitially wondered about the permissions move, but we need it for jsonapi and rest even if there's no UI, so really no choice there.
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!