Ticket #1015 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Doctrine_Query SELECT fails with inner join

Reported by: jfung Owned by: jwage
Priority: major Milestone: 0.11.0
Component: Attributes Version: 0.11.0
Severity: Keywords:
Cc: Has Test:
Status: Has Patch:

Description


For a Doctrine_Query, adding a Select clause to an inner join causes Doctrine to generate incorrect SQL, and therefore leading to improper hydration.

This behavior is not seen if the query is created using a Doctrine_RawSql().

Attachments

1015TestCase.php (3.6 KB) - added by jfung 14 months ago.
Failing Test Case

Change History

Changed 14 months ago by jfung

Failing Test Case

Changed 14 months ago by romanb

  • status changed from new to closed
  • resolution set to fixed

(In [4334]) Fixed #1015. The dql parser is currently case-sensitive. you need to use WITH in the join.

Changed 14 months ago by jwage

  • milestone changed from 0.11.2 to 0.11.0
Note: See TracTickets for help on using tickets.