Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-140

Problem with null-length string comparison in Schema

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      If you compare a column with a string type and length of null to its database value with the default length then Comparator reports a difference. It should automatically convert NULL to 255 (default for all platforms).

        Activity

        Benjamin Eberlei created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Project Doctrine 2 - ORM [ 10032 ] Doctrine DBAL [ 10040 ]
        Key DDC-1307 DBAL-140
        Affects Version/s 2.1 [ 10068 ]
        Affects Version/s 2.1 [ 10022 ]
        Security All [ 10000 ]
        Fix Version/s 2.1.1 [ 10156 ]
        Fix Version/s 2.1.1 [ 10153 ]
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12881 ] jira-feedback2 [ 17735 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17735 ] jira-feedback3 [ 20090 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: