If user has a lot of items assigned to him, checking "Assigned to me" on Timesheet page might cause an exception.
Message: An error occurred while executing the command definition.
See the inner exception for details.
StackTrace:
at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.ExecuteTResultType(ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransactionT(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectQuery`1.cDisplayClass7.b5()
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.ExecuteTResult(Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b0()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at System.Linq.Enumerable.ToDictionaryTSource,TKey,TElement(IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at TimetrackerOnline.JointCodebase.BusinessLayer.Context.Services.ContextWorklogService.GetTrackedTimeOnWorkItems(Int32 ids) in C:\BuildAgent\work\13\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\ContextWorklogService.cs:line 728
at TimetrackerOnline.BusinessLayer.Context.Services.TimesheetService.FillTimesheet(DateTime startDate, DateTime endDate, Boolean toMe, VsoContext vsoContext, VsoTokenModel tokenModel) in C:\BuildAgent\work\13\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\TimesheetService.cs:line 141
at TimetrackerOnline.BusinessLayer.Context.Services.TimesheetService.GetTimesheetData(DateTime startDate, DateTime endDate, Boolean toMe, VsoContext vsoContext, VsoTokenModel tokenModel) in C:\BuildAgent\work\13\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\TimesheetService.cs:line 68
at TimetrackerOnline.Controllers.TimesheetController.GetData(String startDate, String endDate, Boolean toMe) in C:\BuildAgent\work\13\s\TimetrackerOnline\TimetrackerOnline.Web\Controllers\TimesheetController.cs:line 65
at lambdamethod(Closure , ControllerBase , Object )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.cDisplayClass46.b_3f()
Please follow this issue if you are affected.
-
Official comment
Hi there
The issue was fixed in one of previous releases. Now we've checked it again, so the bug has gone.
If this issue still appears, please feel free to contact 7pace team by support@tfs-timetracker.com.
Comment actions
Please sign in to leave a comment.
Comments
2 comments