Author: Frederik Holljen
Date: 2006-06-24 13:25:20 +0200 (Sat, 24 Jun 2006)
New Revision: 3151

Log:
- Fixed #8489: absolute path in the "cannot find definition file" exception 
message.

Modified:
   trunk/PersistentObject/ChangeLog
   trunk/PersistentObject/src/managers/code_manager.php

Modified: trunk/PersistentObject/ChangeLog
===================================================================
--- trunk/PersistentObject/ChangeLog    2006-06-22 12:26:44 UTC (rev 3150)
+++ trunk/PersistentObject/ChangeLog    2006-06-24 11:25:20 UTC (rev 3151)
@@ -2,6 +2,7 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
 - Implemented suggestion #8526: retreiving the dbHandler from the 
persistentObject for transaction support
+- Fixed #8489: absolute path in the "cannot find definition file" exception 
message.
        
 1.1 - Monday 12 June 2006
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Modified: trunk/PersistentObject/src/managers/code_manager.php
===================================================================
--- trunk/PersistentObject/src/managers/code_manager.php        2006-06-22 
12:26:44 UTC (rev 3150)
+++ trunk/PersistentObject/src/managers/code_manager.php        2006-06-24 
11:25:20 UTC (rev 3151)
@@ -76,7 +76,8 @@
         }
         if ( !( $definition instanceof ezcPersistentObjectDefinition ) )
         {
-            throw new ezcPersistentDefinitionNotFoundException( $class, 
"Searched for {$path}." );
+            throw new ezcPersistentDefinitionNotFoundException( $class,
+                                                                "Searched for 
<" . realpath( dirname( $path ) ) . "/" . basename( $path ) . ">." );
         }
         $definition = $this->setupReversePropertyDefinition( $definition );
         return $definition;

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to