Ticket #1420 (closed defect: fixed)
Column aggregation and I18n columns
| Reported by: | killian | Owned by: | romanb |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.1 |
| Component: | Inheritance | Version: | 1.0.0 |
| Severity: | Keywords: | ||
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | no |
Description
(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 ?
Change History
Note: See
TracTickets for help on using
tickets.