RSSFeed creation exception

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.
9/2/2009 5:34:54 PM
Gravatar
Total Posts 2

RSSFeed creation exception

 Couldn't find anything on this already in the forums, so...

Windows XP Home SP 2, Visual Web Developer Express 2008 and MSSQL 2008 Express, and the latest trunk version.

I have only been using mP for about a week, so this might be a latent bug with no one noticing, but when trying to add an RSSFeed, I get a System.IndexOutOfRangeException (not on line 394 as reported previously, but line 541) of the RSSFeed class file at mojoPortal.Business.RSSFeed.  I looked at the db table it was loading from ( mp_RssFeedEntries ), and noticed that there is no FeedName field.  That's what it's crapping out on in the code, so can it be that simple?

Here's the exception details:

System.IndexOutOfRangeException was unhandled by user code

Message="FeedName"

Source="System.Data"

StackTrace:

at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)

at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)

at System.Data.SqlClient.SqlDataReader.get_Item(String name)

at mojoPortal.Business.RssFeed.GetEntries(Guid moduleGuid)

at mojoPortal.Web.FeedUI.FeedCache.GetRssFeedEntries(Int32 moduleId, Guid moduleGuid, Int32 entryCacheTimeout, Int32 maxDaysOld, Int32 maxEntriesPerFeed, Boolean enableSelectivePublishing)

at mojoPortal.Web.FeedUI.FeedManagerModule.GetEntriesTable()

at mojoPortal.Web.FeedUI.FeedManagerModule.BindRepeater()

at mojoPortal.Web.FeedUI.FeedManagerModule.Page_Load(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

InnerException:

9/3/2009 9:17:44 AM
Gravatar
Total Posts 18439

Re: RSSFeed creation exception

Hi,

That was my mistake, one of the upgrade scripts for feed manager did not make it into trunk and I failed to notice it.

If you do svn update, rebuild solution, then visit /Setup/Default.aspx it should get the new script and fix this issue.

Best,

Joe

9/3/2009 12:17:14 PM
Gravatar
Total Posts 2

Re: RSSFeed creation exception

Cool.  I figured it might have been a little overlooked.  :)  Glad to help, and sure appreciate a .Net open source CMS that is actually fun and easy to use!

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