Ticket #668 (closed defect: fixed)
Doctrine cannot parse query strings with keywords in them
| Reported by: | slickrick | Owned by: | jepso |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Query/Hydration | Version: | |
| Severity: | Keywords: | ||
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | no |
Description
When adding keywords like OR, or AND in strings, Doctrine cannot parse the SQL into proper SQL
DQL Query:
FROM User u WHERE u.first_name LIKE '%Foo OR Bar%'
Expected Result:
FROM user u WHERE (u.first_name LIKE '%Foo OR Bar%')
Actual Result:
FROM user u WHERE (u.first_name LIKE '%Foo OR )
Change History
Note: See
TracTickets for help on using
tickets.