November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
What is CartService here? If it's not built using DDS (Dynamic Data Store), then the DDS settings doesn't matter. However, those settings doesn't matter here anyway, there's something else in your code base that causes the redirect.
Hi Johan,
the issue was that the cart was null when visitors came to the site for the first time. It seems that in that case default response is 204 content not found instead of null object.
In our case the solution was to put this into Startup class
services.AddControllers(options =>
{
options.OutputFormatters.RemoveType<HttpNoContentOutputFormatter>();
});
I was wondering if someone came across this scenario after upgrading to CMS 12
We have a Cart class and an API controller that should return Cart object.
Method is defined as such:
In the appSettings.json there is this part
Get method produces nice Cart object but instead of returning it as such process gets redirected to StartPage or '/'. Could it be due wrong binding or mapping?