Skip to content
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

Discount update is interrupted by an error when there is no vendor binding #7406

Open
DmitriyKulagin opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@DmitriyKulagin
Copy link
Contributor

nopCommerce version: develop

Steps to reproduce the problem:
When saving an instance of the entity "discount" the application returns an error:

Microsoft.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_Discount_VendorId_Vendor_Id". The conflict occurred in database "nopCommerce_develop", table "dbo.Vendor", column 'Id'.

Page URL: /Admin/Discount/Edit/2

There is no binding to vendors:
image

Related to #7241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants