Gemini 5: Error Message for Alert Templates
There are currently 4 Alert Templates that came as standard.
'When watched items change' and 'When something in the AppNav Card changes' templates appear to be working correctly. When I go to make a change to the 'When new things are added' template I receive the following error message where I should see a preview:
Object reference not set to an instance of an object., at Countersoft.Foundation.Web.Mvc.Razor.Rzr26e4dfef2b674c5fa7631c40e6a72871Template.Execute() at Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateGenerator.GenerateOutput(HtmlHelper html, Object model, String templateName, Type modelType, Object resourceManager) at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) at CallSite.Target(Closure , CallSite , RazorTemplateGenerator , HtmlHelper , Object , String , Type , Object ) at Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateGenerator.GenerateOutput(HtmlHelper html, Object model, Type modelType, Object resourceManager) at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) at CallSite.Target(Closure , CallSite , IRazorTemplateGenerator , HtmlHelper , Object , Type , Object ) at Countersoft.Foundation.Web.Mvc.Razor.RazorCacheManager.Generate(HtmlHelper html, String templateName, String templateContents, Object parameter, Object resourceManager, Boolean debug) at Countersoft.Gemini.Mailer.AlertsTemplateHelper.GenerateHtml(AlertTemplate template, AlertTypeBaseTemplateModel model) at Countersoft.Gemini.Mailer.AlertsTemplateHelper.Build(AlertTemplate template, IssueDto issue, UserDto recepient) at Countersoft.Gemini.Models.Admin.SystemAlertTemplatesModelBuilder.SaveData()
When trying to change the 'When someone is resourced' template I receive the following error when looking at the preview:
Object reference not set to an instance of an object., at Countersoft.Foundation.Web.Mvc.Razor.Rzr75683c6676f543bebf42939ea0777628Template.Execute() at Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateGenerator.GenerateOutput(HtmlHelper html, Object model, String templateName, Type modelType, Object resourceManager) at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) at CallSite.Target(Closure , CallSite , RazorTemplateGenerator , HtmlHelper , Object , String , Type , Object ) at Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateGenerator.GenerateOutput(HtmlHelper html, Object model, Type modelType, Object resourceManager) at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) at CallSite.Target(Closure , CallSite , IRazorTemplateGenerator , HtmlHelper , Object , Type , Object ) at Countersoft.Foundation.Web.Mvc.Razor.RazorCacheManager.Generate(HtmlHelper html, String templateName, String templateContents, Object parameter, Object resourceManager, Boolean debug) at Countersoft.Gemini.Mailer.AlertsTemplateHelper.GenerateHtml(AlertTemplate template, AlertTypeBaseTemplateModel model) at Countersoft.Gemini.Mailer.AlertsTemplateHelper.Build(AlertTemplate template, IssueDto issue, UserDto recepient) at Countersoft.Gemini.Models.Admin.SystemAlertTemplatesModelBuilder.SaveData()
Any help would be much appreciated.
Kind regards, Nico Kearns
Nico A. Kearns
· 12 |
|
Wednesday, November 14, 2012, 2:53:35 PM |