Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
4.05k
stars
1.27k
forks
source link
TranslationWalker CAST fails for a string fieldMapping type on MariaDB #2887
Closed
Pixelshaped closed 1 month ago
With DBAL 4.x, an issue that was fixed a long time ago (#1011, #1024) has arisen again, specifically for MariaDB.
In the original fix (#1025), no cast is done if the current platform is an instance of MySqlPlatform, which MariaDBPlatform extended.
Unfortunately:
class MariaDBPlatform extends MySQLPlatform
class MariaDBPlatform extends AbstractMySQLPlatform
In effect, the check doesn't work anymore for MariaDB.