Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1.1
-
Fix Version/s: 2.2
-
Component/s: Mapping Drivers
-
Labels:None
-
Environment:Linux Debian Squeeze, MySQL
Description
Several lines like this one:
<field name="upgrades" type="int" column="Upgrades"/>
Were not flagged by orm:validate-schema as incorrect. Updating a related entity revealed the problem ("int" not being a proper type) at runtime.
Bug: orm:validate-schema should throw an error on incorrect column type.
Keep it coming, very valuable