EPiServer upgradation problem from CMS 5 R2 to CMS 6.0

Vote:
 

HI Expert,

We are facing problem with the language culture when we upgrade our EPiServer CMS sites from version CMS 5 to CMS 6.0.

Basically ealier we have created one language culture that is called "en-ae" with EPiServer CMS 5.0 version.When we upgrade our system with EPiServer development server setup to CMS 6.0 version we have faced language culture problem with only customize cultures. The error that we are facing is "Customized cultures cannot be passed by LCID, only by name."

Please help me on this.

Thanks & Regards

Piyush Jain

 

 

#38925
Apr 23, 2010 14:34
Vote:
 

Hi All

 

I'm also facing the same issues while upgrading the site from R2 SP2 to CMS 6.0 . As we are also using the custom culture and episerver 6 crashed while you switch between different languages

 

The problem only comes on pages where you set the sortorder = alphabetically because GetChildern in episerver 6 uses LCID to retrieve the compare info object which fails on LCID for custom culture . Here is the code from episerver 6 which crashes

 

 

 

if (((eventArgs.Children.Count > 0) && (((int) this.GetPage(pageLink)["PageChildOrderRule"]) == 3)) && (((startIndex == -1) && (maxRows == -1)) || ((eventArgs.Children.Count < maxRows) && (startIndex == 0))))

{

FilterPropertySort comparer = new FilterPropertySort("PageName") {

CompareInfo = CompareInfo.GetCompareInfo(ContentLanguage.PreferredCulture.LCID)

};

eventArgs.Children.Sort(comparer);

}

 

Whereas EPiServer 5 do not use this approach . A temporary fix is to change sortorder for alphabetically to any other option . It will start working.

Why episerver is using this approach in 6 and why not in 5 . Is there any fix that episerver provide ?Or any fix outside the episerver ?

Regards

Muhammad

#43165
Edited, Sep 15, 2010 14:41
Vote:
 

I think there is a hotfix available for this issue:

50533 – “Exception "Customized cultures cannot be passed by LCID, only by name" in CMS6”

Try contacting support for more information.

#43236
Sep 16, 2010 9:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.