[Mono-bugs] [Bug 590232] New: DataColumn.Clone doesn't clone the extended properties

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 22 12:01:14 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=590232

http://bugzilla.novell.com/show_bug.cgi?id=590232#c0


           Summary: DataColumn.Clone doesn't clone the extended properties
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Dominique.Normand at cegedim.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us)
AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

When cloning a DataColumn, the collection DataColumn.ExtendedProperties doesn't
get cloned

Reproducible: Always

Steps to Reproduce:
1. DataColumn c = new DataColumn("column") ;
2. c.ExtendedProperties["key"] = "value" ;
3. DataColumn c2 = c.Clone() ;
4. if (c2.ExtendedProperties["key"] != "value) throw new
Exception("ExtendedProperties didn't get cloned");
Actual Results:  
An exception it thrown

Expected Results:  
No exception and the extended properties of the column should be copied to the
cloned column.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list