1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/lib/Doctrine/ORM
flip111 a18aba1bb6 Improved error messages in Paginator: LimitSubqueryOutputWalker
The already existing follow-up check throwing "Not all identifier properties can be found in the ResultSetMapping: %s" is a much more technical description.

If $sqlIdentifier is empty (count 0) it can be concluded that there are no mapped results. An alternative error message could thus be "The Paginator does not support queries without mapped results." (line 153).

Possibly '!=' on line 154 could be replaced by '>' because i think this is the only situation that can occur. But since i don't know this for sure, i left it like i found it.

Didn't use elseif in this commit as per Stof his suggestion.
2013-09-17 21:01:09 +02:00
..
Decorator Kept BC. 2013-07-29 10:46:47 -04:00
Event Fixed typos 2013-04-06 14:31:27 +00:00
Id Fixed typos 2013-04-06 14:31:27 +00:00
Internal CS fixes. 2013-07-30 12:11:08 -04:00
Mapping [DDC-2608][DDC-2662] Fix SequenceGenerator requiring "sequenceName" and now throw exception. Fix a bug in quoting the sequenceName. 2013-09-08 15:59:58 +02:00
Persisters Delete some very old, leftover code. 2013-09-11 22:43:38 +02:00
Proxy applying required fixes for DDC-2432 2013-05-09 21:14:58 +02:00
Query [DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key. 2013-09-08 14:38:59 +02:00
Repository Updated since php doc tag. 2013-06-14 12:07:28 -04:00
Tools Improved error messages in Paginator: LimitSubqueryOutputWalker 2013-09-17 21:01:09 +02:00
AbstractQuery.php Merge pull request #720 from bakura10/fix-paginator 2013-08-05 20:59:12 -07:00
Configuration.php #DDC-2664 Improving and fixing documentation for new Proxy factory flags usage as of DCOM-210 2013-09-09 11:30:18 +02:00
EntityManager.php Kept BC. 2013-07-29 10:46:47 -04:00
EntityManagerInterface.php Kept BC. 2013-07-29 10:46:47 -04:00
EntityNotFoundException.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
EntityRepository.php Added indexBy option to createQueryBuilder 2013-08-28 22:35:29 +01:00
Events.php Fixed typos 2013-03-11 00:08:58 +00:00
NativeQuery.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NonUniqueResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NoResultException.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
OptimisticLockException.php Fixed typos 2013-03-11 00:08:58 +00:00
ORMException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
ORMInvalidArgumentException.php Fixed typos 2013-03-11 00:08:58 +00:00
PersistentCollection.php do not initialize coll on add() 2013-07-22 18:54:02 -04:00
PessimisticLockException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
Query.php Fix DDC-1995 2013-06-07 17:24:05 -04:00
QueryBuilder.php HHVM compatibility: func_get_args 2013-09-15 20:57:30 +03:00
README.markdown [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
TransactionRequiredException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
UnexpectedResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
UnitOfWork.php Delete some very old, leftover code. 2013-09-11 22:43:38 +02:00
Version.php Bump dev version to 2.4.0 2013-05-27 21:47:16 +02:00