I did guess that should be a bug, I am testing more to be sure before 
writing that failing test.
 

On Tuesday, March 11, 2014 10:53:05 PM UTC+3:30, Marco Pivetta wrote:

> Hi Parsifal,
>
> This could look more like a bug, not something that needs to be fixed in 
> documentation..
>
> You can write a failing test case for it and report the issue at 
> http://www.doctrine-project.org/jira/browse/DDC 
>
> Marco Pivetta 
>
> http://twitter.com/Ocramius      
>
> http://ocramius.github.com/
>  
>
> On 11 March 2014 20:08, Parsifal <[email protected] <javascript:>> wrote:
>
>>  
>> Here: https://groups.google.com/forum/#!topic/doctrine-user/mu66FtmEssI
>> with the help of Herman, I discovered something and I think it should be 
>> mentioned on Wiki that other newbies don't waste their time like I did:
>> when mapping if both sides have the same coloumn name (NOT property name) 
>> like  this:
>> 'joinColumns' => array( 0 => array( 'name' => 'product_id', 
>>   'referencedColumnName' => 'product_id', 
>> Either one side should have product_id as a primary key OR if none of 
>> them has it as primary key, one side should have a different coloumn name, 
>> otherwise it throws a proxy notice.
>> In other word, you cannot have the same joined coloumn name on two tables 
>> if none of them is a primary key, one side should have a different coloumn 
>> name, otherwise you'll get a proxy notice.
>> I am not sure if this is correct or not, but it happens to me! sounds odd 
>> tough. why there should be such problem?
>>  
>>  
>>  
>>  
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to