Content Model throws 404

Vote:
 

I'm running Commerce 7.7 and am trying to specify a strongly typed Content Model but gets 404 when I try to create and publish a new product.

I can see all properties when I'm creating a new product, but when I publish it I'm getting 404 with following requested url:

Requested URL: /secured/CMS/Home/mycatalogue/myarticle,,6625__CatalogContent/

My Content Model looks like this:

[CatalogContentType(GUID = "BE40A3E0-49BC-48DD-9C1D-819C2661C9BC", MetaClassName = "ArticleShop")]
    public class ArticleShop : VariationContent
    {
        [Display(Name = "Heading")]
        public virtual string Heading { get; set; }
    }

And here's the template:

public partial class ArticleShopTemplate : ContentPageBase
    {

     }

Suggestions on error above?

/J

#112372
Oct 28, 2014 10:23
Vote:
 

Hi,

It looks like you're creating product on a second language, which is not enabled and translated in the start page.

If it's the case then you'll need to enable that language for start page and translate it.

Regards.

/Q

#112380
Oct 28, 2014 11:55
Vote:
 

It was actually missing enabled language for the language I was working in. I've enabled the correct language, enabled it for the startpage and translated all pages to that language, still, I'm getting the same error when creating new products. Any more suggestions?

#112450
Oct 28, 2014 14:00
Vote:
 

Hi,

Does it work with your primary language?

/Q

#112467
Oct 28, 2014 17:01
Vote:
 

No, I tried to turn off the globalization, and deactivated the other languages, so we are just running with our primary language, still getting the same error. The root page is in English and we are using another language, can it be connected to that? I assume I have to modify the SQL directly if I wanna change language for the rootpage in so case.

/J

#112469
Oct 28, 2014 17:14
Vote:
 

My suggestion would be switch back to your primary language and try to see if it works. No, I don't have any clear ideas of what's wrong, but at least it will narrow down the possible reasons.

Regards.

/Q

#112494
Oct 29, 2014 9:49
Vote:
 

I tried with only primary language, removed everything else so only the main language existed, still same issue. There is no known issues for Commerce 7.7 regarding this?

/J

#112513
Oct 29, 2014 11:45
Vote:
 

No, not what we know of (if there is, we would not release it).

How are you registering your routing?

And is there any reasons that you don't want to update to latest version (7.12 for non-breaking changes?)

Regards.

/Q

#112514
Oct 29, 2014 11:53
Vote:
 

Thanks for pointing out, the routing was incorrect.

/J

#112519
Oct 29, 2014 13:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.