Proposal: Extension upgrades should reconcile managed entities
When you install a new extension, CRM_Extension_Manager::install()
contains this line:
CRM_Core_Invoke::rebuildMenuAndCaches(TRUE);
However, no equivalent code runs on extension upgrade.
I propose that on extension upgrade, we run this code.
Recently, I've had two different extensions fail to work on deployment because the upgrade process doesn't reconcile managed entities. I imagine I'm not alone.