[Mono-bugs] [Bug 79392][Nor] New - Ctrl+End in DataGrid causes error CurrencyManager cannot be null
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 13 06:06:31 EDT 2006
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 kobruleht2 at hot.ee.
http://bugzilla.ximian.com/show_bug.cgi?id=79392
--- shadow/79392 2006-09-13 06:06:31.000000000 -0400
+++ shadow/79392.tmp.834 2006-09-13 06:06:31.000000000 -0400
@@ -0,0 +1,125 @@
+Bug#: 79392
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: kobruleht2 at hot.ee
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Ctrl+End in DataGrid causes error CurrencyManager cannot be null
+
+Description of Problem:
+
+Pressing Ctrl+End in Datagrid containing npgsql table
+containing boolean as last column causes error
+CurrencyManager cannot be null
+
+If table last column is not boolean type, error does not occur.
+
+Steps to reproduce the problem:
+
+1. Create a table in PostgreSQL 8.1.4 database server
+with the following structure:
+
+CREATE TABLE firma1.klient
+(
+ kood char(12) NOT NULL,
+ nimi char(70),
+ a_a char(35),
+ p_kood char(10),
+ regnr numeric(12),
+ vatpayno char(15),
+ piirkond char(30),
+ postiindek char(10),
+ tanav char(30),
+ kontaktisi char(30),
+ telefon char(40),
+ faks char(25),
+ email char(40),
+ wwwpage char(50),
+ liik char(10),
+ viitenr char(20),
+ riik char(20),
+ riik2 char(2),
+ riigikood char(3),
+ hinnak char(5),
+ erihinnak char(5),
+ myygikood char(4),
+ objekt2 char(10),
+ objekt5 char(10),
+ objekt7 char(10),
+ maksetin char(4),
+ omakseti char(4),
+ krediit numeric(12,2),
+ ostukredii numeric(12,2),
+ masin char(5),
+ info text,
+ maksja char(12),
+ "timestamp" char(14),
+ atimestamp char(14),
+ elanikud numeric(3),
+ pindala numeric(7,2),
+ grmaja char(10),
+ apindala numeric(7,2),
+ kpindala numeric(7,2),
+ idmakett char(36),
+ tulemus char(100),
+ omandisuhe char(1),
+ username char(10),
+ changedby char(10),
+ parool char(20),
+ hinnaale char(4),
+ mitteakt bool,
+ kontakteer date,
+ klikaart char(16),
+ mhprotsent numeric(5,1),
+ aadress text,
+ grupp char(8),
+ verskp date,
+ firma_enne char(40),
+ tegevusala char(30),
+ instkuupae date,
+ firmarv numeric(2),
+ tookohti numeric(2),
+ versioon char(100),
+ teenlepkp date,
+ jur char(40),
+ kasutab char(40),
+ est numeric(2),
+ rus numeric(2),
+ miniest numeric(2),
+ minirus numeric(2),
+ plakat numeric(2),
+ keel char(3),
+ htmlformat bool DEFAULT false )
+
+2. Fill the table with data, some thousands of rows.
+Alternately, I can upload a database backup copy if you request it.
+3. Edit connection string in attached solution
+4. Run attached colution under mono
+5. Press Ctrl+End key
+
+Actual Results:
+
+Message CurrencyManager cannot be null
+appears. See attached picture.
+
+Expected Results:
+
+Cursot must be positioned in last column of last row.
+
+How often does this happen?
+
+Always.
+
+Additional Information:
+
+If last column in DataGrid is not boolean type, error does not occur.
More information about the mono-bugs
mailing list