Affects Version/s: None
Fix Version/s: 2.4
Security Level: All
I have a custom type tinyint:
I was using it a lot and when I updated to doctrine 2.4 beta it break some stuff. At the time i turn all on smallint and solve the problem, now I had time to look into it.
Example, entity Currency:
When i have this piece of code:
If I turn id into small int:
If I switch the order to:
If I place a var_dump on convertToPHPValue I can see that is not being called on getId when getId is lazy.
This looks like a bug introduced when getId started being lazy to save queries.