Problem with add a new post in blog in Persian culture

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/29/2013 2:31:48 PM
Gravatar
Total Posts 51
Share our knowledge,Take world in our hands.

Problem with add a new post in blog in Persian culture

Hi Joe,
I,ve download latest version(2.4.0.0) of mojoPortal and install that on local. Then I've add a blog module on the page. All things are fine! But when I change culture to "fa-IR"(Persian Culture) and try to add post to blog or edit other posts error page is shown!
I've clear the log and refresh after try to add post to blog. log is:

2013-11-29 23:36:45,242 ERROR 127.0.0.1 - en-US - /Blog/EditPost.aspx?mid=1&pageid=1 - mojoPortal.Web.Global -  Referrer(http://localhost:2402/home) useragent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.Controls.DatePickerControl.set_ShowTime(Boolean value)
   at ASP.blog_editpost_aspx.__BuildControldpBeginDate()
   at ASP.blog_editpost_aspx.__BuildControlpnlBlog()
   at ASP.blog_editpost_aspx.__BuildControlpnlInnerBody()
   at ASP.blog_editpost_aspx.__BuildControlpnlOuterBody()
   at ASP.blog_editpost_aspx.__BuildControlpnlInnerWrap()
   at ASP.blog_editpost_aspx.__BuildControlpnlOuterWrap()
   at ASP.blog_editpost_aspx.__BuildControlMPContent(Control __ctrl)
   at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
   at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template)
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.__BuildControlmainContent()
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.__BuildControldivCenter()
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.__BuildControlfrmMain()
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.__BuildControlBody()
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.__BuildControlTree(data_sites_1_skins_art42_wallpaper_layout_master __ctrl)
   at ASP.data_sites_1_skins_art42_wallpaper_layout_master.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.get_Master()
   at mojoPortal.Web.mojoBasePage.SetupMasterPage()
   at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
   at mojoPortal.Web.BlogUI.BlogEdit.OnPreInit(EventArgs e)
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

------------------------------------------------------

System Information

mojoPortal Version2.4.0.0 MSSQL
Operating SystemMicrosoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Infov4.0.30319 Running in Full Trust
 

Thanks!

12/2/2013 10:19:37 AM
Gravatar
Total Posts 18439

Re: Problem with add a new post in blog in Persian culture

Hi Sadegh,

I am not able to reproduce this error. I changed my web browser language to fa-IR but I get no error editing the blog.

I tried it on my local machine and also our demo site.

Best Regards,

Joe

12/3/2013 4:07:25 AM
Gravatar
Total Posts 51
Share our knowledge,Take world in our hands.

Re: Problem with add a new post in blog in Persian culture

Hi joe,
Thanks for attention! Yore answer was very efficient.
The following line in user.config was cause of error that added in old version :(

<add key="mojoDatePickerConfigFileName" value="mojoDatePickerCustom.config" />

Thanks a lot.

You must sign in to post in the forums. This thread is closed to new posts.