Only one repeated issue?
Since we've updated to Gemini 5, we get frequent messages in the System Log like:
API - query did not return a unique result: 2 NHibernate
at NHibernate.Impl.AbstractQueryImpl.UniqueElement(IList list)
at NHibernate.Impl.CriteriaImpl.UniqueResult[T]()
at Countersoft.Foundation.Data.Repository`2.FindOne(ICriterion[] criteria)
at Countersoft.Gemini.Data.Issues.IssueRepository.HasRepeatIssues()
at Countersoft.Gemini.Controllers.Api.AdminController.GetSchedulerProcesses()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)
I guess FindOne should have been FindFirst or similar? More than one repeated issue should be supported?
Michael Poettgen
· 1 |
|
Tuesday, October 23, 2012, 9:19:29 AM |