Need help weeding out cause of duplicate product, categories and roles being created for no reason

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
I need help debugging and weeding out the cause of a problem we have on our NopCommerce implementation v3.8.

For some reason, duplicates of products, categories and roles are being duplicated in our database. We've looked at our own plugins and none of our code creates products, categories or roles.

The duplicates have the exact same values as the original entry(except for the primary key) but we don't how this can happen.

Some tips on where to look would be appreciated.
7 years ago
I think the issue with duplicate customer roles and duplicate products/categories were 2 unrelated issues.

The product/category seems to have been duplicated by bad data during an import. We've not have any issue with more duplicate products or categories since we have finished importing the products.

However we continue to have issues with duplicate [NopCommerce Guests] roles.
We found out that sometimes the [NopCommerce Guests] role is created by new Guest Customers: somehow when creating a guest customer a new [NopCommerce Guests] role is also created. What's weird is other times, the guest customer is created just fine without any new roles being created(and these customers are assigned to the proper role).
7 years ago
Is your current Guest role a System account?
IsSystemRole should be marked true in the database in the CustomerRole table.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.