{"action":"closed","issue":{"url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/3201","repository_url":"https://api.github.com/repos/nopSolutions/nopCommerce","labels_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/3201/labels{/name}","comments_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/3201/comments","events_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/3201/events","html_url":"https://github.com/nopSolutions/nopCommerce/issues/3201","id":345563898,"node_id":"MDU6SXNzdWUzNDU1NjM4OTg=","number":3201,"title":"Website down after editing the product Build your own computer NOP 4.1","user":{"login":"petrjiricek","id":15941260,"node_id":"MDQ6VXNlcjE1OTQxMjYw","avatar_url":"https://avatars1.githubusercontent.com/u/15941260?v=4","gravatar_id":"","url":"https://api.github.com/users/petrjiricek","html_url":"https://github.com/petrjiricek","followers_url":"https://api.github.com/users/petrjiricek/followers","following_url":"https://api.github.com/users/petrjiricek/following{/other_user}","gists_url":"https://api.github.com/users/petrjiricek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjiricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjiricek/subscriptions","organizations_url":"https://api.github.com/users/petrjiricek/orgs","repos_url":"https://api.github.com/users/petrjiricek/repos","events_url":"https://api.github.com/users/petrjiricek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjiricek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-29T21:23:48Z","updated_at":"2018-08-02T13:07:13Z","closed_at":"2018-08-02T13:07:13Z","author_association":"NONE","body":"nopCommerce version: 4.1\r\n\r\nSteps to reproduce the problem: \r\nWhen I have editing sample product \"Build your own computer\" and at attribute I picked picture to each choice ... Processor (sample data) and saved this page then the website go down and log message is:\r\n\r\n-- | -- | -- | --\r\n◢ | $exception | {System.InvalidOperationException: Cannot create a DbSet for 'CheckoutAttribute' because this type is not included in the model for the context.    at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()    at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()    at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()    at System.Linq.Queryable.OrderBy[TSource,TKey](IQueryable`1 source, Expression`1 keySelector)    at Nop.Services.Orders.CheckoutAttributeService.<>c__DisplayClass7_0.<GetAllCheckoutAttributes>b__0() in c:\\NOP41\\Libraries\\Nop.Services\\Orders\\CheckoutAttributeService.cs:line 77    at Nop.Core.Caching.PerRequestCacheManager.Get[T](String key, Func`1 acquire, Nullable`1 cacheTime) in c:\\NOP41\\Libraries\\Nop.Core\\Caching\\PerRequestCacheManager.cs:line 62    at Nop.Services.Orders.CheckoutAttributeService.GetAllCheckoutAttributes(Int32 storeId, Boolean excludeShippableAttributes) in c:\\NOP41\\Libraries\\Nop.Services\\Orders\\CheckoutAttributeService.cs:line 75    at Nop.Web.Factories.ShoppingCartModelFactory.<>c__DisplayClass53_0.<PrepareMiniShoppingCartModel>b__2() in c:\\NOP41\\Presentation\\Nop.Web\\Factories\\ShoppingCartModelFactory.cs:line 986    at Nop.Core.Caching.MemoryCacheManager.Get[T](String key, Func`1 acquire, Nullable`1 cacheTime) in c:\\NOP41\\Libraries\\Nop.Core\\Caching\\MemoryCacheManager.cs:line 152    at Nop.Web.Factories.ShoppingCartModelFactory.PrepareMiniShoppingCartModel() in c:\\NOP41\\Presentation\\Nop.Web\\Factories\\ShoppingCartModelFactory.cs:line 983    at Nop.Web.Components.FlyoutShoppingCartViewComponent.Invoke() in c:\\NOP41\\Presentation\\Nop.Web\\Components\\FlyoutShoppingCart.cs:line 32    at lambda_method(Closure , Object , Object[] )    at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeSyncCore(ObjectMethodExecutor executor, ViewComponentContext context)    at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)} | System.InvalidOperationException\r\n\r\n"}}
{"actor":{"display_login":"AndreiMaz"}}