Bug #65805 Roles.RemoveUserFromRole() requests data from wrong table name
| Submitted: | 4 Jul 2012 6:24 | Modified: | 28 Sep 2012 18:49 |
|---|---|---|---|
| Reporter: | Hans Larsen | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / NET | Severity: | S2 (Serious) |
| Version: | 6.5.4 | OS: | Windows |
| Assigned to: | Fernando Gonzalez.Sanchez | CPU Architecture: | Any |
| Tags: | findusersinroles, my_aspnet_usersinroles, Removeuserfromrole, roles | ||
[4 Jul 2012 6:24]
Hans Larsen
[28 Jul 2012 14:09]
Damien BRUN
Just checked 6.6 code, this has been fixed in RemoveUserFromRole() but not in FindUsersInRoles. Connector.Net still query a table "my_aspnet_usersInRole". (RoleProvider.cs line 514).
[28 Sep 2012 18:49]
John Russell
Added to changelog for 6.4.6, 6.5.5, 6.6.3: When using the ASP.net web security functionality with a MySQL database, using features that access the my_aspnet_usersinroles table caused an exception: MySql.Data.MySqlClient.MySqlException: Table 'testdb.my_aspnet_usersinrole' doesn't exist. For example, this error could occur when trying to remove the user from a role or find users in a role. The fix corrects the spelling of the table name to my_aspnet_usersinroles.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.082 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.