Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.2.3, 1.2.4
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:doctrine 1.2.4, symfony 1.4, snow leopard, php 5.3.1, postgresql 8.3
Description
I moved our project from doctrine 1.2.1 to 1.2.4. The build process stops because of this patch. We are using primary keys with an alias. It seems that the generation of the sequence name in the build-process is different to the one used in UnitOfWorks.
Example:
Authority:
columns:
a_id:
name:
{ type: string }This will generate a sequence called "authority_a_id", but it will try no "currval" the sequence "authority_id".
I'll try to provide a UnitTest. The current seems broken.
php -l Ticket/DC521TestCase.php
PHP Parse error: syntax error, unexpected $end, expecting T_FUNCTION in Ticket/DC521TestCase.php on line 143
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in Ticket/DC521TestCase.php on line 143
Errors parsing Ticket/DC521TestCase.php
Here is the test updated with the current ticket number.