CRM-14727 - SequenceListener fixes
authorTim Otten <totten@civicrm.org>
Tue, 3 Jun 2014 06:03:23 +0000 (23:03 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 3 Jun 2014 06:19:19 +0000 (23:19 -0700)
commitf99a2e5d664e0bae71fbb71fafd10f57af9b9aea
tree0106e32024357f10bca4e4571b54aea8b843671d
parentc2f2bbe6582dc2812833300506e570f6f76fbdc6
CRM-14727 - SequenceListener fixes

1. Fire the case-change event outside the main transaction. When case-change
listeners query the DB, they'll more understandable results.

2. Determine list of case-activities using $case['activities'] rather than
trying to call Activity.get(case_id=X).  Activity.get does not support
filtering on case_id.
CRM/Core/Transaction.php
Civi/CCase/Analyzer.php
Civi/CCase/Events.php
Civi/Core/Container.php