Sorry, github is having huge load time issues righ now, so the link is
wrong. The right URI should be
https://github.com/doctrine/doctrine2/tree/master/tests/Doctrine/Tests/ORM/Functional/Ticket(off
the top of my mind).

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 11 March 2014 22:54, Marco Pivetta <[email protected]> wrote:

> Hi Parsifal,
>
> this is not a test case. Please write a test case along the lines of the
> ones in
> https://github.com/doctrine/doctrine2/tree/master/tests/Doctrine/ORM/Functional/Ticketbefore
>  reporting the problem, and verify that it fails.
>
> The main reason for this requirement is your exotic metadata driver setup,
> which is very hard to reproduce.
>
> Cheers,
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On 11 March 2014 22:47, Parsifal <[email protected]> wrote:
>
>>
>>
>> Please read previous answer first.
>> Also probably I have to add that product_id value in Info is unique but
>> in Somethings can be several. Still looks like a bug?
>>
>>
>>
>>
>> On Tuesday, March 11, 2014 10:38:03 PM UTC+3:30, Parsifal 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].
>> 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.
>>
>
>

-- 
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