Ticket #1132 (closed defect: fixed)
dqlSelectHook problem when adding the params in the execute part
| Reported by: | tuct | Owned by: | romanb |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Query/Hydration | Version: | 1.0.3 |
| Severity: | Keywords: | ||
| Cc: | Has Test: | yes | |
| Status: | Commit Approved | Has Patch: | yes |
Description
i got some problems with the dql Hooks again :) when using the execute() part of a query to parse the params, the order of the params for the query is wrong:
username = "test" -> SELECT u.* FROM user u WHERE u.username = ? AND u.deleted = ? - (0,'test')
maybe there is a better fix but i attached what worked for me.
i had to change some CacheQueryTests? but i think they a more adequate now, i don't think that it is normal to query the same query twice but using a new QueryObject? is more natural
Attachments
Change History
Note: See
TracTickets for help on using
tickets.