You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\repos\NemeStats\Source\BusinessLogic\Logic\BoardGameGeekGameDefinitions\BoardGameGeekGameDefinitionInfoRetriever.cs", line 42, in GetFromSource(System.Int32 boardGameGeekGameDefinitionId)
File "C:\repos\NemeStats\Source\BusinessLogic\Caching\Cacheable.cs", line 25, in GetResults(TInput inputParameter)
File "C:\repos\NemeStats\Source\BusinessLogic\Logic\BoardGameGeekGameDefinitions\UniversalGameRetriever.cs", line 44, in GetBoardGameGeekGameSummary(System.Int32 boardGameGeekGameDefinitionId, BusinessLogic.Models.User.ApplicationUser currentUser, System.Int32 numberOfRecentlyPlayedGamesToRetrieve)
File "C:\repos\NemeStats\Source\UI\Controllers\UniversalGameController.cs", line 49, in Details(System.Int32 id, BusinessLogic.Models.User.ApplicationUser currentUser)
File "(unknown)", line 147, in lambda_method(System.Runtime.CompilerServices.Closure , System.Web.Mvc.ControllerBase , System.Object[] )
File "System.Web.Mvc.ActionMethodDispatcher", line unknown, in Execute(System.Web.Mvc.ControllerBase controller, System.Object[] parameters)
File "System.Web.Mvc.ReflectedActionDescriptor", line 81, in Execute(System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary`2[System.String,System.Object] parameters)
File "System.Web.Mvc.ControllerActionInvoker", line unknown, in InvokeActionMethod(System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary`2[System.String,System.Object] parameters)
File "System.Web.Mvc.Async.AsyncControllerActionInvoker", line unknown, in <BeginInvokeSynchronousActionMethod>b__39(System.IAsyncResult asyncResult, System.Web.Mvc.Async.AsyncControllerActionInvoker+ActionInvocation innerInvokeState)
File "System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`2", line unknown, in CallEndDelegate(System.IAsyncResult asyncResult)
File "System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1", line 41, in End
File "System.Web.Mvc.Async.AsyncControllerActionInvoker", line unknown, in EndInvokeActionMethod(System.IAsyncResult asyncResult)
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters", line 20, in <InvokeActionMethodFilterAsynchronouslyRecursive>b__3d
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46", line 134, in <InvokeActionMethodFilterAsynchronouslyRecursive>b__3f
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass46", line 134, in <InvokeActionMethodFilterAsynchronouslyRecursive>b__3f
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass33", line unknown, in <BeginInvokeActionMethodWithFilters>b__32(System.IAsyncResult asyncResult)
File "System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1", line unknown, in CallEndDelegate(System.IAsyncResult asyncResult)
File "System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1", line 41, in End
File "System.Web.Mvc.Async.AsyncControllerActionInvoker", line unknown, in EndInvokeActionMethodWithFilters(System.IAsyncResult asyncResult)
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21+<>c__DisplayClass2b", line unknown, in <BeginInvokeAction>b__1c
File "System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass21", line unknown, in <BeginInvokeAction>b__1e(System.IAsyncResult asyncResult)
EntityDoesNotExistException`1: Entity of type 'BusinessLogic.Models.BoardGameGeekGameDefinition' with Id '809' does not exist.
The text was updated successfully, but these errors were encountered:
…ty-does-not-exist
fix EntityDoesNotExistException for non-existent game #783
HolisticDeveloper
changed the title
EntityDoesNotExistException`1: Entity of type 'BusinessLogic.Models.BoardGameGeekGameDefinition' with Id '230801' does not exist.
UniversalGameController throws EntityDoesNotExistException for non-existent game
Jun 3, 2023
When a universal game details URL points to a non-existent game, the page throws an EntityDoesNotExistException rather than returning a 404.
Example: https://nemestats.com/UniversalGame/Details/809
View details in Rollbar: https://rollbar.com/jakejgordon/NemeStats/items/3503/
The text was updated successfully, but these errors were encountered: