Survey with PostGres

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.
12/21/2010 4:23:47 AM
Gravatar
Total Posts 17

Survey with PostGres

Hi,

I'm using the latest version of mojo mojoPortal 2.3.5.8, with PostGres  in a Windows 7 machine.

I've created a new survey, although when I click Start Survey, I  have this error:

ERROR: 42601: syntax error at or near ")"

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: Npgsql.NpgsqlException: ERROR: 42601: syntax error at or near ")"

After debug i found the problem is in SurveyFeature.Data.DBQuestionOption.GetAll(Guid questionGuid).

 sqlCommand.Append("ORDER BY \"order\" "); the parentheses next to \"order\" is not correct.

After remove it, works well.

Thanks 

 

 

 

12/21/2010 7:55:53 AM
Gravatar
Total Posts 18439

Re: Survey with PostGres

Thanks for the bug report and fix. This is now fixed in the source code repository.

Best,

Joe

12/21/2010 11:55:01 AM
Gravatar
Total Posts 17

Re: Survey with PostGres

Thanks :)

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