Bug #26041 | Connection Protocol Property Error in PropertyGrid Control | ||
---|---|---|---|
Submitted: | 2 Feb 2007 16:50 | Modified: | 20 May 2007 6:17 |
Reporter: | Sean Wright | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 5.0.3 | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any | |
Tags: | propertygrid |
[2 Feb 2007 16:50]
Sean Wright
[2 Feb 2007 17:26]
Sean Wright
Additional change made: case Keyword.Protocol: ConnectionProtocol = ConvertToProtocol(value); break; case Keyword.Protocol: ConnectionProtocol = (MySqlConnectionProtocol) value; break; This works to a certain degree. No more errors, the property is changed but not displayed in the propertygrid.
[2 Feb 2007 18:13]
Sean Wright
I found other properties that threw errors as well. I have corrected them. Still have a problem displaying the Driver Type and Connection Protocol in the propertygrid even though the properties are changed. See attached file for corrections
[2 Feb 2007 18:14]
Sean Wright
MySQLConnectionStringBuilder modified code
Attachment: MySqlConnectionStringBuilder.cs (application/octet-stream, text), 27.14 KiB.
[9 Feb 2007 15:51]
Sean Wright
Ok, then connector (specifically the MySQLConnectionStringBuilder) will now work properly in a propertygrid control. Can someone please verify the newly submitted code conforms to project standards?
[9 Feb 2007 15:52]
Sean Wright
Final working code on MySQLConnectionStringBuilder, allowing object to be used in a PropertyGrid control
Attachment: MySqlConnectionStringBuilder.cs (application/octet-stream, text), 28.08 KiB.
[7 Apr 2007 18:42]
Tonci Grgin
Sean, thanks for your report and patch provided. I will notify c/NET team of it. Either I have problems with my machine configuration or with your test case (or both :) ) but I'm unable to extract any cs that passes "cs.ProviderName == "Mysql.Data.MySQLClient" " condition but I can see your point in code. So I'll make this report "Verified" and let Reggie decide. Thanks for your interest in MySQL.
[10 May 2007 21:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/26472
[10 May 2007 21:14]
Reggie Burnett
Fixed in 5.0.7
[20 May 2007 6:17]
MC Brown
A note has been added to the 5.0.7 changelog.