#1622: Record->unlink() fails if relation was not used before
-----------------------+----------------------------------------------------
Reporter: floriank | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: Unknown
Component: Record | Version: 1.1-DEV
Resolution: | Keywords: unlink
Has_test: 1 | Mystatus: Pending Core Response
Has_patch: 1 |
-----------------------+----------------------------------------------------
Old description:
> The method Record->unlink() of Doctrine 1.1 (already changed in
> [http://trac.doctrine-project.org/changeset/5019]) fails if the relation
> which ist to be unlinked was not used / loaded before.
New description:
The method Record->unlink() of Doctrine 1.1 (already changed in
[http://trac.doctrine-project.org/changeset/5019]) fails if the relation
which ist to be unlinked was not used / loaded before. Also
Record->hasRelation() incorrectly returns false if the relation has not
been loaded before.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1622#comment:1>
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
-~----------~----~----~----~------~----~------~--~---