#1622: Record->unlink() fails if relation was not used before
-----------------------+----------------------------------------------------
Reporter: floriank | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: 1.0.5
Component: Record | Version: 1.1-DEV
Resolution: | Keywords: unlink
Has_test: 1 | Mystatus: Pending Core Response
Has_patch: 1 |
-----------------------+----------------------------------------------------
Comment (by jwage):
Hmm. Won't changing hasReference() to load the reference if it hasn't been
loaded make the function always return true. I think your patch is close
but might need to change. I think hasReference() should remain the same,
and the unlink() function should load it if it doesn't exist.
When you report patches can you run it against the test suite and report
whether it was successful or not. This will help with me reviewing and
giving my opinion without having to apply the patch and check myself.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1622#comment:4>
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
-~----------~----~----~----~------~----~------~--~---