LetterInfoEdit.aspx - Firebird dal bug?

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/4/2010 3:19:48 PM
Gravatar
Total Posts 10

LetterInfoEdit.aspx - Firebird dal bug?

I get an error adding new newsletter. Probably Firebird specific.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Must declare the variable '@SortRank' 
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: FirebirdSql.Data.FirebirdClient.FbException: Must declare the variable '@SortRank'

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: 


[FbException (0x80004005): Must declare the variable '@SortRank']
FirebirdSql.Data.FirebirdClient.FbCommand.UpdateParameterValues() +2491
FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet) +302
FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteNonQuery() +175
mojoPortal.Data.FBSqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, FbParameter[] commandParameters) +147
mojoPortal.Data.DBLetterInfo.Create(Guid letterInfoGuid, Guid siteGuid, String title, String description, String availableToRoles, Boolean enabled, Boolean allowUserFeedback, Boolean allowAnonFeedback, String fromAddress, String fromName, String replyToAddress, Int32 sendMode, Boolean enableViewAsWebPage, Boolean enableSendLog, String rolesThatCanEdit, String rolesThatCanApprove, String rolesThatCanSend, DateTime createdUtc, Guid createdBy, DateTime lastModUtc, Guid lastModBy, Boolean allowArchiveView, Boolean profileOptIn, Int32 sortRank) +3240
mojoPortal.Business.LetterInfo.Create() +191
mojoPortal.Business.LetterInfo.Save() +97
mojoPortal.Web.ELetterUI.LetterInfoEditPage.Save() +1653
mojoPortal.Web.ELetterUI.LetterInfoEditPage.btnSave_Click(Object sender, EventArgs e) +64
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1  

12/6/2010 6:49:58 AM
Gravatar
Total Posts 18439

Re: LetterInfoEdit.aspx - Firebird dal bug?

Thanks for the bug report. This is now fixed in the source code repository and will be fixed in the next release.

Best,

Joe

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