AnantLabs / taskleader

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

Erreur sur updateAction #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Scénario de reproduction du problème:
1. Editer une action "Ouverte"
2. Fermer l'action sans rien modifier.
3. Pop-up d'erreur systématique

Message d'erreur:
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at TaskLeader.DAL.WriteDB.updateAction(TLaction action) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\DAL\WriteDB.cs:line 232
   at TaskLeader.BLL.DataManager.saveAction(TLaction action) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\BLL\DataManager.cs:line 83
   at TaskLeader.GUI.ManipAction.sauveAction(Object sender, EventArgs e) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\GUI\ManipAction.cs:line 116
   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 7 Jun 2011 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by tangu...@gmail.com on 11 Jun 2011 at 9:36