-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CheckoutAttribute table is not created during installation process #3321
Comments
What's the deal with the random .zip ? |
That would be the db backup |
It works correctly on our demo site, and it also works on my local machine (including the case with a new db). |
That's great that it works on your machine, but doesn't it strike as you as odd that 3 different users created this issue? I admit, that 3 isn't that much, but still |
Same problem to me today. |
Problem is in EntityFrameworkCorre, it depends on language settings and sorting, I tryed it. More info here Entity type name is culture-sensitive. I am new to nopcommerce, but I think, that you can done quick fix, before bug will be fixed in EFC. |
I think CheckoutAttribute table si created correctly, but I found, that if you put |
Today i tried to migrate whole NopCommerce project to .Net Core 2.2 preview 3, installed last Microsoft.EntityFrameworkCore.SqlServer 2.2.0 NuGet and it looks like, that problems disappeared ... |
After some investigation... |
Can't reproduce on 4.20. Closed #3321 |
nopCommerce version: 4.10
Steps to reproduce the problem:
Failed to add the product. Please refresh the page and try one more time.
System.InvalidOperationException: Cannot create a DbSet for 'CheckoutAttribute' because this type is not included in the model for the context. at Nop.Web.Framework.Infrastructure.Extensions.ApplicationBuilderExtensions.<>c.<UseNopExceptionHandler>b__1_1(HttpContext context) in C:\MojeProjekty\nopCommerce_4.10_Source\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationBuilderExtensions.cs:line 83 at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
This is probably duplicate of #3213 and #3201, would a DB backup (attached) help in replicating? I tried to build it from source, download no source and no source self contained versions, my dev machine and server but every time I get the same result
wsaspokus.zip
The text was updated successfully, but these errors were encountered: