Exception in Blog Edit Category- SQLite

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.
2/22/2011 8:04:31 PM
Gravatar
Total Posts 47

Exception in Blog Edit Category- SQLite

In the Blog section on clicking the 'pencil' icon in the editcategory.aspx page we get an error.

Error log is below

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

2011-02-22 20:53:37,582 ERROR mojoPortal.Web.mojoBasePage - 122.161.59.47-en-US - /Blog/EditCategory.aspx?pageid=5&mid=24
System.InvalidCastException: Specified cast is not valid.
   at mojoPortal.Web.BlogUI.BlogCategoryEdit.dlCategories_ItemCommand(Object sender, DataListCommandEventArgs e)
   at System.Web.UI.WebControls.DataList.OnItemCommand(DataListCommandEventArgs e)
   at System.Web.UI.WebControls.DataList.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.DataListItem.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e)
   at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-02-22 20:53:39,535 ERROR mojoPortal.Web.Global - 122.161.59.47-en-US - /Blog/EditCategory.aspx?pageid=5&mid=24
System.InvalidCastException: Specified cast is not valid.
   at mojoPortal.Web.BlogUI.BlogCategoryEdit.dlCategories_ItemCommand(Object sender, DataListCommandEventArgs e)
   at System.Web.UI.WebControls.DataList.OnItemCommand(DataListCommandEventArgs e)
   at System.Web.UI.WebControls.DataList.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)

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

System Information

System Information
mojoPortal Version 2.3.6.2 SQLite
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v2.0.50727 Running in Full Trust

Regards,

nitin

2/24/2011 6:50:15 AM
Gravatar
Total Posts 18439

Re: Exception in Blog Edit Category- SQLite

Hi Nitin,

Thanks for the bug report. I was ale to reproduce this error using SQLite and was able to fix it.

It is fixed now in the source code repository and will be fixed in the next release of mojoPortal.

Best,

Joe

2/24/2011 9:21:19 AM
Gravatar
Total Posts 47

Re: Exception in Blog Edit Category- SQLite

Many thanks Joe :)

tc

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