Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA1
    • Fix Version/s: 2.0-BETA2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      I've been working on a MaterializedPath implementation and hit a roadblock.

      This condition:

      // $pathInterval = array('00010001', '0001ZZZZ');
      $andX->add($expr->between('e.' . $this->getPathFieldName(), $expr->literal($pathInterval[0]), $expr->literal($pathInterval[1])));
      

      results in this SQL:

      AND (l0_.path BETWEEN 00010000 AND '0001ZZZZ')
      

      This is clearly not correct. Numeric strings should still be quoted if the field is of type string.

        Activity

        David Abdemoulaie created issue -
        David Abdemoulaie made changes -
        Field Original Value New Value
        Assignee Roman S. Borschel [ romanb ] David Abdemoulaie [ hobodave ]
        David Abdemoulaie made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        David Abdemoulaie made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        David Abdemoulaie made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-BETA2 [ 10050 ]
        Resolution Fixed [ 1 ]
        David Abdemoulaie made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 11412 ] jira-feedback [ 15635 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15635 ] jira-feedback2 [ 17499 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17499 ] jira-feedback3 [ 19756 ]

          People

          • Assignee:
            David Abdemoulaie
            Reporter:
            David Abdemoulaie
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: