Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-44

nullable is not working for all datatypes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-BETA3
    • Component/s: None
    • Labels:
      None

      Description

      The nullable=true annotation is ignored from at least following Types:

      • SmallIntType
      • DecimalType
      • BooleanType (not sure if nullable makes sense here)
      1. nullable.patch
        0.8 kB
        Daniel Freudenberger

        Activity

        Show
        Roman S. Borschel added a comment - This looks like it has been fixed for a while already. See: http://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Types/SmallIntType.php http://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Types/DecimalType.php http://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Types/BooleanType.php
        Hide
        Daniel Freudenberger added a comment - - edited

        I'll take a look at the master next time before submitting a bug report. Anyway I think it would be better to not fix bugs without an existing ticket for the fixed bug

        Show
        Daniel Freudenberger added a comment - - edited I'll take a look at the master next time before submitting a bug report. Anyway I think it would be better to not fix bugs without an existing ticket for the fixed bug
        Hide
        Daniel Freudenberger added a comment -

        has already been fixed

        Show
        Daniel Freudenberger added a comment - has already been fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Daniel Freudenberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: