Bug #101384 Using ToTable(tableName, schemaName) duplicates schemaName on query

Submitted: 29 Oct 2020 21:01 Modified: 30 Oct 2020 7:29
Reporter: Carlos Ayala Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.22 OS:Any
Assigned to: CPU Architecture:Any

[29 Oct 2020 21:01] Carlos Ayala
Description:
After updating to MySQL Connector .NET 8.0.22 (Previous version was 8.0.21) An exception is thrown when using ToTable(tableName, schemaName) method overload on this EntityFramework classes:

- EntityTypeConfiguration.ToTable(tableName, schemaName)
- ManyToManyAssociationMappingConfiguration.ToTable(tableName, schemaName)

Exception raised is:

- Table 'schemaName.schemaName.tableName' doesn´t exist.

Using the ToTable(tableName) overload works correctly.

How to repeat:
Install MySQL Connector.NET 8.0.22 and map any table with EntityTypeConfiguration.ToTable(tableName, schemaName) and the exception will be thrown.
[29 Oct 2020 21:05] Carlos Ayala
BTW, I'm using EF 6.4.4
[30 Oct 2020 7:29] MySQL Verification Team
Hello Carlos Ayala,

Thank you for the bug report.
Imho this is duplicate of Bug #101236, please see Bug #101236.

Regards,
Ashwini Patil

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.060 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.