[Mono-bugs] [Bug 75503][Wis] Changed - Guid Type conversion problem when copying a datarow...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 13 02:36:23 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tsureshkumar at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75503

--- shadow/75503	2005-07-13 02:18:30.000000000 -0400
+++ shadow/75503.tmp.10673	2005-07-13 02:36:23.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 75503
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Wishlist
 Component: Sys.Data
 AssignedTo: tsureshkumar at novell.com                            
 ReportedBy: informatique.internet at fiducial.fr               
 QAContact: mono-bugs at ximian.com
@@ -149,6 +149,16 @@
 ------- Additional Comments From informatique.internet at fiducial.fr  2005-07-07 12:20 -------
 Ooops I've one precision more...
 The datatype of the Id_Chef_Produit column in the sql server is a
 string... but this column is filled with guid's like strings...
 
 
+
+------- Additional Comments From tsureshkumar at novell.com  2005-07-13 02:36 -------
+A column of type GUID cannot accept arbitrary strings. To make sure
+the retrieved id is a valid id, it would be better to cast it to a
+GUID. ms.net does not do that. it accepts a string and even it stores
+it as a string. This could probabily a bug.
+
+Instead, You could use like
+
+r["Id_Chef_Produit"] = new Guid ( (string) row["Id_Chef_Produit"]);


More information about the mono-bugs mailing list