fully rename action DAO
After upgrading to CiviRules 3.0, attempts to clear cache etc. result in this error:
In Managed.php line 80:
CRM_Core_BAO_Managed::isApi4ManagedType(): Argument #1 ($entityName) must be of type string, null given, called in /home/jon/local/acd/web/modules/civicrm/CRM/Core/BAO/Managed.php on line 64
This occurred because my silentuserreg
extension declares a managed entity, with 'entity' => 'CiviRuleAction'
. However, AllCoreTables::getBriefName()
, which caches a map of DAO names to entities, doesn't have an entry for CRM_Civirules_DAO_Action
and so the cache clear fails.
I assume there are other entities that will need the same treatment, but I wanted to pass this one for a first look. If no one sees an issue, and its inclusion doesn't create errors, we can switch over other classes.