#1420: Column aggregation and I18n columns
-----------------------------------+----------------------------------------
 Reporter:  killian                |       Owner:  romanb
     Type:  defect                 |      Status:  new   
 Priority:  major                  |   Milestone:  1.0.1 
Component:  Inheritance            |     Version:  1.0   
 Keywords:                         |    Has_test:  0     
 Mystatus:  Pending Core Response  |   Has_patch:  0     
-----------------------------------+----------------------------------------
 [http://www.doctrine-project.org/forum/viewtopic.php?f=2&t=189 (A message
 have been posted here)]

 I've be confronted to an issue with column aggregation inheritance. There
 is my model :

 {{{
 A:
   actAs:
     I18n:
       fields: [name]
   columns:
     name: string(255)

 Aa:
   inheritance:
     extends: A
     type: column_aggregation

 Ab:
   inheritance:
     extends: A
     type: column_aggregation
 }}}


 When I get the 'name' field I18nable, Doctrine leaves in a terrible
 infinite loop, and PHP gives me this fatal error :


 {{{
 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
 allocate 32 bytes) in /var/www/..../BaseA.php on line 15
 }}}


 This line is the following :


 {{{
 $this->setSubClasses(array('Aa' => array('type' => 'Aa'), 'Ab' =>
 array('type' => 'Ab')));
 }}}


 When I get rid of the actAs I18n, all is going ok. Is there a Doctrine bug
 ?

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1420>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to