Ticket #446 (closed Defekt: fixed)
Kan inte lägga in expense (stacktrace)
Reported by: | mini | Owned by: | Todi |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | PirateWeb | Keywords: | |
Cc: |
Description
Efter att ha lagt till tre attachments till min expense och trycker "all done" får jag
[MySqlException (0x80004005): Unknown column 'Documented' in 'field list']
MySql.Data.MySqlClient.MySqlStream.OpenPacket() +255
MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) +55
MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() +48
MySql.Data.MySqlClient.MySqlDataReader.NextResult() +715
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +898
MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar() +53
PirateWeb.Database.PirateDb.CreateExpenseClaim(Int32 claimingPersonId, Int32 organizationId, Int32 budgetId, Int32 budgetYear, DateTime expenseDate, String description, Double amount) +390
PirateWeb.Logic.Financial.ExpenseClaim.Create(Int32 claimingPersonId, Int32 organizationId, Int32 budgetId, Int32 budgetYear, DateTime expenseDate, String description, Double amount) +61
Pages_v4_Accounting_ClaimExpense.ButtonSubmitClaim_Click(Object sender, EventArgs e) +463
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) +1746
Fixat, berodde på att jag döpt om kolumnen till Validated och glömt ändra i den stored procedure som skapade en expense.