Problem with blog-feature 2.4.0.2 (PostgreSQL)

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.
3/21/2014 3:52:25 AM
Gravatar
Total Posts 3

Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi Joe,

I encounterd a problem with the blog-feature.

I just updated my mojoPortal to version 2.4.0.2 and wanted to edit some blogposts.
When I click on "Administration" on my blog-modul my site hangs and I get the following message in system-log:

2014-03-21 09:19:31,947 ERROR 78.54.115.97 - de-DE - /Blog/Manage.aspx?pageid=3&mid=181 - mojoPortal.Web.Global - Referrer

(https://www.x.de/aktuelles.aspx) useragent Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16
Npgsql.NpgsqlException:
Spalte »currenttime« existiert nicht
Severity: FEHLER
Code: 42703
bei Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
bei Npgsql.ForwardsOnlyDataReader.GetNextResponseObject()
bei Npgsql.ForwardsOnlyDataReader.GetNextRowDescription()
bei Npgsql.ForwardsOnlyDataReader.NextResult()
bei Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command,

NotificationThreadBlock threadBlock, Boolean synchOnReadError)
bei Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb)
bei Npgsql.NpgsqlCommand.ExecuteScalar()
bei mojoPortal.Data.NpgsqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, NpgsqlParameter

[] commandParameters)
bei mojoPortal.Data.DBBlog.GetCountOfDrafts(Int32 moduleId, Guid userGuid, DateTime currentTime)
bei mojoPortal.Web.BlogUI.ManagePage.LoadSettings()
bei mojoPortal.Web.BlogUI.ManagePage.Page_Load(Object sender, EventArgs e)
bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

System details:
Windows Server 2008 R2 Standard / IIS 7
PostgreSQL 9.0.4 64-bit
mojoportal-2-4-0-2-pgsql-net40-deploymentfiles (downloaded 2014-03-06)
.net 4.0


 

3/21/2014 10:34:52 AM
Gravatar
Total Posts 18439

Re: Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi,

Thanks for the bug report. I've just patched the 2.4.0.2 release with the fix for this bug in the pgsql data layer for the blog. If you download it again and just replace the /bin/mojoPortal.Features.Data.dll it should fix the problem.

Hope that helps,

Joe

3/21/2014 11:00:05 AM
Gravatar
Total Posts 3

Re: Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi Joe,

thanks for your quick response.

It fixed the error I described earlier but now I get the same error again when being in "Blog Administration" and clicking on "Drafts (4)". All other links on "Blog Administration" seem to work as expected. I don't know if "Expired Posts (0)" really work because there are none.

2014-03-21 16:52:30,331 ERROR 78.54.115.97 - de-DE - /Blog/Drafts.aspx?pageid=3&mid=181 - mojoPortal.Web.Global - Referrer(https://www.x.de/Blog/Manage.aspx?pageid=3&mid=181) useragent Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16
Npgsql.NpgsqlException:
Spalte »currenttime« existiert nicht
Severity: FEHLER
Code: 42703
bei Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
bei Npgsql.ForwardsOnlyDataReader.GetNextResponseObject()
bei Npgsql.ForwardsOnlyDataReader.GetNextRowDescription()
bei Npgsql.ForwardsOnlyDataReader.NextResult()
bei Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError)
bei Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb)
bei Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb)
bei mojoPortal.Data.NpgsqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters)
bei mojoPortal.Data.DBBlog.GetPageOfDrafts(Int32 moduleId, Guid userGuid, DateTime currentTime, Int32 pageNumber, Int32 pageSize, Int32& totalPages)
bei mojoPortal.Web.BlogUI.BlogDraftsPage.PopulateControls()
bei mojoPortal.Web.BlogUI.BlogDraftsPage.Page_Load(Object sender, EventArgs e)
bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

3/21/2014 11:23:11 AM
Gravatar
Total Posts 18439

Re: Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi Markus,

Ok, this was a similar copy/paste typo bug, it is now also patched, if you download and replace the same file again it should fix this one.

Thanks,

Joe

3/21/2014 12:02:04 PM
Gravatar
Total Posts 3

Re: Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi Joe,

I thought so. Everything is working fine now. Thanks.

Enjoy your beer and have a nice weekend.

Greetings from Hamburg, Germany
 

3/21/2014 12:32:15 PM
Gravatar
Total Posts 18439

Re: Problem with blog-feature 2.4.0.2 (PostgreSQL)

Hi Markus,

Glad I could be of help. Thanks for the beer!

Cheers,

Joe

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