GoogleCodeArchive / taskleader

Automatically exported from code.google.com/p/taskleader
0 stars 0 forks source link

Crash sur addAction - Erreur SQL #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Scénario de reproduction du problème:
1. Edition action avec mail attaché
2. Ajout d'un mail
3. Suppression d'un mail
4. Ajout d'un mail
5. Edition du descriptif
6. Save => Erreur SQL

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.SQLite.SQLiteException: SQLite error
near ";": syntax error
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at TaskLeader.DAL.WriteDB.removePJ(Array PJ) in C:\Users\to76995\Documents\Visual Studio 2010\Projects\Taskleader\TaskLeader\DAL\WriteDB.cs:line 251
   at TaskLeader.BO.TLaction.save() in C:\Users\to76995\Documents\Visual Studio 2010\Projects\Taskleader\TaskLeader\BO\Action.cs:line 239
   at TaskLeader.GUI.ManipAction.sauveAction(Object sender, EventArgs e) in C:\Users\to76995\Documents\Visual Studio 2010\Projects\Taskleader\TaskLeader\GUI\ManipAction.cs:line 124
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by tangu...@gmail.com on 10 Nov 2011 at 10:51

GoogleCodeExporter commented 9 years ago
Précisions:
- Le descriptif a été sauvé
- Lors de la nouvelle édition, 4 PJ dans l'action (au lieu d'une).

=> Sans doute un problème sur la suppression de PJ.

Original comment by tangu...@gmail.com on 10 Nov 2011 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by tangu...@gmail.com on 29 May 2012 at 9:57