Sqlite's AddModuleDefinition

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.
6/28/2009 8:52:29 PM
Gravatar
Total Posts 59

Sqlite's AddModuleDefinition

OS: win 2003
DB: Sqlite
Version:2.3.0.10

Hi Joe, Below Code In dbModuleDefinition.cs of Sqlite:

//////////////////////////////////////////////////////////////////////

public static int AddModuleDefinition(
{

......................................
sqlCommand.Append("SELECT LAST_INSERT_ROWID();");
SqliteParameter[] arParams = new SqliteParameter[15];
.....................................

}

Should be changed as below:

public static int AddModuleDefinition(
{
sqlCommand.Append("SELECT LAST_INSERT_ROWID();");
SqliteParameter[] arParams = new SqliteParameter[14]; //15->14
}

//////////////////////////////////////////////////////////////////////

Otherwise whe run setup, error occurs.

Thanks!

 

6/29/2009 5:47:02 AM
Gravatar
Total Posts 18439

Re: Sqlite's AddModuleDefinition

Hi mjohn,

Thanks for the bug report and fix.

For clarification to readers of this post, this error is for the current svn version of mojoPortal. The 2.3.1.0 version has not yet been released as of this post. It will be fixed in the 2.3.1.0 release.

Best,

Joe 

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