delegate

×

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of D:\home\site\wwwroot\webapp\includes\common.inc).

Runtime Eventing in Dynamics365 for Operations


To help troubleshoot some things at a recent launch, we had a request to be able to monitor CRUD on certain tables.  Database logging is a viable option, however I wanted to take time to see how difficult it would be to build this on my own. 

While there are only 1 or 2 tables I needed to monitor now, I want something flexible that we can turn on or off on a table level.  In an effort to find a solution where I can select which tables are being audited on the fly, I went down the path of learning more about how Events and Delegates work.

Uncaught exception thrown in session handler.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => e-Cuh70bRm7IVYP5RKUaO1e1__T5YtFsjqxhv0noZoM [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of D:\home\site\wwwroot\webapp\includes\session.inc).