Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2827

[GH-864] Updated parser to support aggegrate functions in null comparisons

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of curry684:

      Url: https://github.com/doctrine/doctrine2/pull/864

      Message:

      Parser didn't support syntax like "SELECT i FROM entity i JOIN i.second s GROUP BY i HAVING max(s.something) IS NULL" which should be perfectly valid. Changed isAggregateFunction to support parameterless call which makes it consistent with isFunction.

        Activity

        Show
        Guilherme Blanco added a comment - As of https://github.com/doctrine/doctrine2/commit/841bdd5ca52d2849b8091c56f99e201d169e1639 this issue is fixed
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-864] was closed:
        https://github.com/doctrine/doctrine2/pull/864

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-864] was closed: https://github.com/doctrine/doctrine2/pull/864

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: