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 ]
        Show
        David Abdemoulaie added a comment - Fixed in http://github.com/doctrine/doctrine2/commit/b6a5402bcb014e78eb6c0b841609e6f0bba71ef6
        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 ]

        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=DDC-610, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: