CiviCase - Prevent recursion when reconciling managed activity/relationship types...
authorcolemanw <coleman@civicrm.org>
Fri, 15 Sep 2023 01:10:44 +0000 (21:10 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 15 Sep 2023 15:59:27 +0000 (11:59 -0400)
commit806d38b214784824d5ee6b07c21e19b7ebb20a4b
treee52ca453203ac090ad63a27ccee86f47ec8e9cc8
parent4ef0d64fc2b4163f5bbd88fb44f3170f90e4c6d7
CiviCase - Prevent recursion when reconciling managed activity/relationship types & fix test

The createManagedRelationshipTypes and createManagedActivityTypes functions always use 'civicrm'
as the module name, so this reconciliation can target just that module to prevent recursion.

The ManagedCaseTypeTest was failing due to caching/timing issues.

Try this...
CRM/Case/BAO/CaseType.php
CRM/Core/ManagedEntities.php
mixin/mgd-php@1/example/tests/mixin/ManagedCaseTypeTest.php