diff --git a/src/gnc-component-manager.c b/src/gnc-component-manager.c index 1d0779b520..9b5a5b2182 100644 --- a/src/gnc-component-manager.c +++ b/src/gnc-component-manager.c @@ -244,16 +244,26 @@ gnc_cm_event_handler (GUID *entity, changes.account_event_mask |= event_type; break; + case GNC_ID_SPLIT: + /* split events are never generated by the engine, but might be + * generated by a backend (viz. the postgres backend.) + * Handle them just like transactions */ + changes.trans_event_mask |= event_type; + break; + case GNC_ID_PRICE: - /* Price events not currently handled by CM */ + /* hack alert -- FIXME - Price events not currently handled by CM */ break; case GNC_ID_NONE: break; - default: - PERR ("unexpected id type: %d", id_type); + default: { + char guid_str[GUID_ENCODING_LENGTH+1]; + guid_to_string_buff (entity, guid_str); + PERR ("unexpected id type: %d for guid=%s", id_type, guid_str); break; + } } got_events = TRUE;