Error moving module to different page.. most recent svn update

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/20/2006 3:48:38 PM
Gravatar
Total Posts 58

Error moving module to different page.. most recent svn update

 

Server Error in '/' Application.

#42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(SET  PageID = 26 WHERE ModuleID = 4 AND PageID = 16' at line 1

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: MySql.Data.MySqlClient.MySqlException: #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(SET  PageID = 26 WHERE ModuleID = 4 AND PageID = 16' at line 1

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[MySqlException: #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(SET  PageID = 26 WHERE ModuleID = 4 AND PageID = 16' at line 1]
   mojoPortal.Data.dbPortal.Module_UpdatePage(Int32 oldPageID, Int32 newPageID, Int32 moduleID) +617
   mojoPortal.Business.Module.UpdatePage(Int32 oldPageID, Int32 newPageID, Int32 moduleID) +38
   mojoPortal.Web.ModuleSettingsPage.ApplyChanges_Click(Object Sender, EventArgs e) +1472
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
6/20/2006 4:08:02 PM
Gravatar
Total Posts 18439

Re: Error moving module to different page.. most recent svn update

this is now fixed in svn branches/2.1

Thanks for helping with the QA

Joe
6/20/2006 4:31:49 PM
Gravatar
Total Posts 58

Re: Error moving module to different page.. most recent svn update

You are way too fast.  This is why I just report them instead of wasting time creating patch files for you.  No matter what I do, you fix it faster.  I'm not complaining, I like the relationship.

Keep up the excellent work.

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