Caching issue on apiv4 + install
I'm hitting issues updating to 5.41 with caching of api entities - the issue is that init
is being called before the entities are added and then after - but it's early exiting after. I'm not 100% sure why it has changed but it is causing fatals when
registering managed entities - even though I check that SearchKit is installed before declaring search displays they fail to install as it failes to find the DAO
I assume this is related to caching work @colemanw did in some way
The issue is occurring with the command
cv en --ignore-missing search_kit wmf-civicrm
which is including a SearchDisplay but ONLY IF
civicrm_api3('Extension', 'getcount', [
'full_name' => 'org.civicrm.search_kit',
'status' => 'installed',
]
However, - the newly installed does not have a 'dao' SearchDisplay entity
The back trace is