Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1,180
    • Issues 1,180
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #2763
Closed
Open
Issue created Aug 17, 2021 by eileen@eileen🎱Owner

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

image

image

Edited Aug 17, 2021 by eileen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking