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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I am having a problem with expired blog posts on a 2.6 MSSQL site that I can also reproduce on the 2.7 demo site.
If a new post is setup and its end date is set to a datetime so the post has expired, then when the Blog Administration > Expired Posts option is used, an error is thrown. This option works as expected in a pre-2.6 MSSQL installation.
On my internal 2.6 system the exception details are:
2018-11-09 13:22:38,339 ERROR - en-GB - /Blog/ClosedPosts.aspx?pageid=53&mid=1213 - mojoPortal.Web.Global - Referrer(http://owcmojo/Blog/Manage.aspx?pageid=53&mid=1213) useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
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.Blog.GetClosedDataSet(Int32 moduleId, Int32 pageNumber, Int32 pageSize, Int32& totalPages)
at mojoPortal.Web.BlogUI.ClosedPostsPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The same exception is thrown on the operational version of this site.
Am I missing something to prevent this happening or is there an underlying problem?
mojoPortal Hosting & Design @ i7MEDIA!
This problem is fixed and has been for a while in the repository, sorry for not replying back when it was fixed.
It will be included in the upcoming release of mojoPortal.
Thanks for the update Elijah - we appreciate the work you're doing on mojoPortal.
All the best
Any workaround or ETA on a fix for this? I've had some clients have issues with this bug. The expired posts are helpful for people who pull up an old annual post and make it active again.