propelorm/Propel — Issue #135: Single inheritance with different namespace classes
Author: joke2k
Created: 2011-10-08 03:54:56+00:00
State: open

>Core\Post
>Core\Author
>Other\AudioPost
>Other\VideoPost

...

...

...

calling :

>foreach ( PostQuery::create()->find() as $post ) ...

return :

>Fatal error: Class 'Post' not found in ...**BasePostPeer.php**

>PropelModelPager->getIterator( )	..\PropelModelPager.php:76
>PropelModelPager->getResults( )	..\PropelModelPager.php:391
>ModelCriteria->find( ??? )	..\PropelModelPager.php:101
>PropelObjectFormatter->format( ??? )	..\ModelCriteria.php:1139
>PropelObjectFormatter->getAllObjectsFromRow( [...] )	..\PropelObjectFormatter.php:49
>Core\om\BasePostPeer::populateObject( [...], 0,**FALSE** )	..\PropelObjectFormatter.php:87

populateObject call getOMClass with-out-Prefix that returns "Post" without a namespace.

Needs to improve a behaviour?