Error message when creating discount

Daniel Sandberg
Member since: 2012
 

When creating a discount in episerver back office I recieve the following error: Content with id '11663 is of type 'Castle.Proxies.SalesCampaignProxy' which does not inherit required type 'EPiServer.Commerce.Catalog.ContentTypes.CatalogContentBase

The discount is anyway created and works as expected. When I decompile SalesCampaign I can se that it inherits from BasicContent. 

Has someone encountered this error before?

Thanks in advance.

#201253
Feb 11, 2019 14:24
Quan Mai
Member since: 2011
 

Did you use the Marketing UI to create the promotion? or did you use code? Which promotion type did you create?

#201254
Feb 11, 2019 14:40
Bob Bolt
Member since: 2014
 

Also, which Commerce version are you using?

#201266
Feb 11, 2019 18:21