#1509: i18n + translation + column_aggregation inheritance bug
-----------------------------------+----------------------------------------
 Reporter:  SebastienHordeaux      |       Owner:  jwage
     Type:  defect                 |      Status:  new  
 Priority:  blocker                |   Milestone:       
Component:  I18n                   |     Version:  1.0.2
 Keywords:                         |    Has_test:  0    
 Mystatus:  Pending Core Response  |   Has_patch:  0    
-----------------------------------+----------------------------------------
 I'm trying to use i18n + translation + column_aggregation inheritance.
 Here is a sample testcase to reproduce the issue:

 my schema:

 {{{
 A:
   actAs:
     I18n:
       fields: [fielda]
   columns:
     fielda: { type: varchar(255) }

 B:
   actAs:
     I18n:
       fields: [fieldb]
   columns:
     fieldb: { type: varchar(255) }
   inheritance:
     extends: A
     type: column_aggregation
     keyField: type
     keyValue: B
 }}}

 when trying the following:
 {{{
         $b = new B();
         $b->Translation['en']->fieldb = 'foobar';
 }}}


 I receive an Doctrine_Record_Exception exception with this message:
 Unknown record property / related component "fieldb" on "BTranslation"

-- 
Ticket URL: <http://trac.phpdoctrine.org/ticket/1509>
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