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

        Issue Links

          Activity

          Daniel Freudenberger created issue -
          Roman S. Borschel made changes -
          Field Original Value New Value
          Project Doctrine 2 - ORM [ 10032 ] Doctrine DBAL [ 10040 ]
          Key DDC-777 DBAL-44
          Affects Version/s 2.0-BETA2 [ 10050 ]
          Affects Version/s 2.0-BETA3 [ 10060 ]
          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
          Roman S. Borschel made changes -
          Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
          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
          Daniel Freudenberger made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.0-BETA3 [ 10066 ]
          Resolution Invalid [ 6 ]
          Benjamin Eberlei made changes -
          Workflow jira [ 11848 ] jira-feedback2 [ 17659 ]
          Benjamin Eberlei made changes -
          Workflow jira-feedback2 [ 17659 ] jira-feedback3 [ 20014 ]
          Steve Müller made changes -
          Link This issue is referenced by DDC-1045 [ DDC-1045 ]

          This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

          • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-44, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

            People

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

              Dates

              • Created:
                Updated:
                Resolved: