November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hey Guys,
Could we get any help or any ideas on how to investigate this issue?
-Paul
It looks like the MarketFilter property of the content is null. It should never be (it should be an empty collection if there is no filter). When the content is loaded, it is assigned from the _ExcludedCatalogEntryMarkets meta field. So maybe that field has somehow been lost, had its type changed or similar.
Is this a new site project, or did this suddely start happening on an existing site? Can you open and edit existing products?
You can update existing products just fine, it's just creating new ones that's the issue. Also yes, this is a new site, we just rolled out last month and we had this issue since rolling out.
-Paul
We imported all of our products using the catalog manager import tools. They seem to have worked fine, however creating new products aren't working.
Could you or someone explain more in depth what the _ExcludedCatalogEntryMarkets field is, and how I can ensure it has values when creating new products?
-Paul
I figured it out! We don't really use the MarketFilter for hiding/showing products on our website, we have a custom property that does this for business reasons.
Because we don't use this field, we had an override on our products class.
[Ignore]
public override ItemCollection<string> MarketFilter { get; set; }
I wouldn't think this would do this, since the parent of my class, VariationContent and ProductContent both enherit this class and it looks identicle. Reguardless, commenting this out fixed the issue.
-Paul
Hi,
We are having an issue when you create a new product in Commerce UI, where you hit the plus sign, everything looks good, then you click on the create button and it just, doesn't create.
Looking at chrome developer tools, when I click on the network tab I get the following...
Here is the full error for your information.
Server Error in '/' Application.
Value cannot be null.
Parameter name: source
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36366