diff --git a/server/AyaNova/biz/AyaEvent.cs b/server/AyaNova/biz/AyaEvent.cs index efc17f64..05ce08d6 100644 --- a/server/AyaNova/biz/AyaEvent.cs +++ b/server/AyaNova/biz/AyaEvent.cs @@ -23,6 +23,8 @@ namespace AyaNova.Biz ServerStateChange=9, SeedDatabase=10 + //NEW ITEMS REQUIRE LOCALE KEYS AND UPDATE EventLogProcessor code that prefetches required keys + } diff --git a/server/AyaNova/biz/EventLogProcessor.cs b/server/AyaNova/biz/EventLogProcessor.cs index 24781a12..55e65b0b 100644 --- a/server/AyaNova/biz/EventLogProcessor.cs +++ b/server/AyaNova/biz/EventLogProcessor.cs @@ -60,9 +60,14 @@ namespace AyaNova.Biz AyaNova.Api.Controllers.LocaleController.LocaleSubsetParam param = new Api.Controllers.LocaleController.LocaleSubsetParam(); param.LocaleId = userLocaleId; param.Keys.AddRange(new string[] { "CommonCreated", "Delete","Modified","Retrieved" }); + + //TODO: add all the keys from all the events in AyaEvent + //Attachment, Created instead of AttachmentCreate, or is it attached? + var LT = LocaleBiz.GetSubsetStatic(param); - //Have list of locales + //Have list of locales and list of ops, now make it into a readable text display and return it + return null;