#1323: broken non-equal nest relations (many-to-many self referencing)
-----------------------+----------------------------------------------------
  Reporter:  floriank  |       Owner:  romanb               
      Type:  defect    |      Status:  new                  
  Priority:  critical  |   Milestone:  1.0.0-RC2            
 Component:  Record    |     Version:  0.11                 
Resolution:            |    Keywords:                       
  Has_test:  1         |    Mystatus:  Pending Core Response
 Has_patch:  0         |  
-----------------------+----------------------------------------------------
Comment (by floriank):

 Replying to [comment:6 romanb]:
 > Another problem is that the local/foreign columns need to be the other
 way around, so it seems the documentation is wrong. Take a look at this
 test model:
 http://trac.phpdoctrine.org/browser/branches/1.0/tests/models/NestTest.php
 .
 >
 Sorry, my fault: I mixed up the names of the parent/child - relations.
 > I do have patch ready but im not too happy with it. It introduces an
 option 'refClassRelation' that allows you to "rename" the one-many
 relation to the association table. That, in addition to switching the
 columns seems to make it work with the patch (http://pastie.org/258871).
 Especially, take a look at your (revised) testcase. I would appreciate
 some feedback on that patch.
 I have applied your patch and tested my modified testcase (1323 with
 'refClassRelation' and non-mixed up relation names) and got no error
 anymore: Looks like everything is fine...
 But unfortunately testcase 1323b is still failing, although I changed the
 relations of the models in this case to the new 'refClassRelation'-option.
 I attached the modified 1323b-testcase to this ticket under the name
 1323b2: Can you please look for it too? This is the one which brings down
 my application because I cannot update any data of my concepts without
 messing their relations...

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