Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1546

another incorrect mapping not detected by orm:validate-schema

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Tom Vogt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: