bug in Persian Localization

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.
8/21/2013 1:43:20 AM
Gravatar
Total Posts 8

bug in Persian Localization

I've installed the latest version and it got to the Persian Localization. add a new page to site and add Blog modoul in.
 I added a post. When the archive click on a month to see the following error:

 UserID
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: UserID...........

When the archive click on a month to see the following error:

Server Error in '/' Application.
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.

sorry my enshlish is not very good.

8/21/2013 3:35:14 AM
Gravatar
Total Posts 8

Re: bug in Persian Localization

I corrected :

When I click on the calendar on the day :

Server Error in '/' Application.
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM...........

 

8/21/2013 7:45:25 AM
Gravatar
Total Posts 550

Re: bug in Persian Localization

Hi, 

If your site is lived on internet  you can send me it's address to me( a [dot] samarian [at] gmail [dot] com). 

Asad

 

8/21/2013 10:25:37 AM
Gravatar
Total Posts 8

Re: bug in Persian Localization

Hi,

My site is local and install for test but the bug is in 2.3.9.8 and 2.3.9.7 mojoportal.
 

8/22/2013 1:32:01 PM
Gravatar
Total Posts 18439

Re: bug in Persian Localization

Hi,

This is now fixed in our source code repository. You can fix it on your installation by running this script on your database. The problem was the Persian version of the stored procedure was missing some fields in the select statement.

Hope that helps,

Joe

8/22/2013 1:44:48 PM
Gravatar
Total Posts 18439

Re: bug in Persian Localization

Hi,

Asad, I fixed the first bug but there is still a bug if you click a day in the calendar. However, the problem only happens if using the jquery calendar for the blog navigation calendar.

A workaround is to edit the theme.skin file:

<blog:BlogDisplaySettings runat="server" 
    UseBottomNavigation="true"
    UsejQueryCalendarNavigation="false"
    HideCalendar="false"
    HideFeedLinks="false"
    HideStats="false"
    BlogViewUseBottomDate="true"
    BlogViewHideTopPager="false"
    BlogViewHideBottomPager="false"
    ArchiveViewHideFeedbackLink="false"
    HideTopSideBar="false"
    HideBottomSideBar="false"
    OverrideListItemHeadingElement=""
    PostListForceExcerptMode="false"
    PostListForceTitleOnly="false"
    PostListUseBottomDate="true"
    PostListDisableContentRating="false"
    DetailViewDisableContentRating="false"
    UseBottomContentRating="true"
    DisableShowCategories="false"
    DisableShowArchives="false"
    DisableShowStatistics="false"
/>

The error only happens if UsejQueryCalendarNavigation is true.

Can you implement a fix Asad?

Thanks,

Joe

8/23/2013 8:35:01 AM
Gravatar
Total Posts 8

Re: bug in Persian Localization

Thanks Joe, work fine now

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