Author: romanb
Date: 2008-09-12 10:18:47 +0100 (Fri, 12 Sep 2008)
New Revision: 4913
Removed:
trunk/lib/Doctrine/AuditLog/
trunk/lib/Doctrine/Builder/
trunk/lib/Doctrine/Cli/
trunk/lib/Doctrine/Collection/
trunk/lib/Doctrine/Compiler/
trunk/lib/Doctrine/Data/
trunk/lib/Doctrine/File/
trunk/lib/Doctrine/FileFinder/
trunk/lib/Doctrine/I18n/
trunk/lib/Doctrine/Log/
trunk/lib/Doctrine/Migration/
trunk/lib/Doctrine/Node/
trunk/lib/Doctrine/Pager/
trunk/lib/Doctrine/Parser/
trunk/lib/Doctrine/Record/
trunk/lib/Doctrine/Search/
trunk/lib/Doctrine/Task/
trunk/lib/Doctrine/Template/
trunk/lib/Doctrine/Tree/
trunk/lib/Doctrine/Validator/
Modified:
trunk/lib/Doctrine/Collection.php
trunk/tests/Orm/Component/CollectionTest.php
Log:
Moved undecided/unclear items into TODO
Modified: trunk/lib/Doctrine/Collection.php
===================================================================
--- trunk/lib/Doctrine/Collection.php 2008-09-12 09:15:43 UTC (rev 4912)
+++ trunk/lib/Doctrine/Collection.php 2008-09-12 09:18:47 UTC (rev 4913)
@@ -134,7 +134,7 @@
if ($keyField !== null) {
if ( !
$this->_em->getClassMetadata($entityBaseType)->hasField($keyField)) {
- throw new Doctrine_Collection_Exception("Invalid field
'$keyField' can't be uses as key.");
+ throw new Doctrine_Exception("Invalid field '$keyField' can't
be uses as key.");
}
$this->_keyField = $keyField;
}
Modified: trunk/tests/Orm/Component/CollectionTest.php
===================================================================
--- trunk/tests/Orm/Component/CollectionTest.php 2008-09-12 09:15:43 UTC
(rev 4912)
+++ trunk/tests/Orm/Component/CollectionTest.php 2008-09-12 09:18:47 UTC
(rev 4913)
@@ -76,7 +76,7 @@
* possible to set this to something that is not valid.
*
* @test
- * @expectedException Doctrine_Collection_Exception
+ * @expectedException Doctrine_Exception
*/
public function shouldThrowExceptionIfNonValidFieldSetAsKey()
{
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---