November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
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
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.
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