#1530: REGRESSION: PHP notices
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: critical | Milestone:
Component: Query/Hydration | Version: 1.0.2
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending User Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by colnector):
I'm using sfDoctrinePlugin branch 1.1 and the lib it's using is:
doctrine http://svn.phpdoctrine.org/branches/1.0/lib
The notices were introduced in revision 5001 - it's comment is "[1.0]
fixes #1254, fixes #1454, fixes #1480 Fixes issue with subqueries and
shared information". When I revert to 5000 the notices disappear.
I am using PHP 5.2.5 on my dev machine.
Perhaps in the DQL you're trying you should change the where() clause to
something like:
{{{
->where('u.id IN (SELECT ug.user_id FROM UserGroup ug WHERE ug.group_id =
?)'
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1530#comment:6>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---