Skip to content

Commit

Permalink
Removed ticket that was breaking the build. DDC-2524 is a circular de…
Browse files Browse the repository at this point in the history
…pendency that is impossible to be fixed with our current codebase.
  • Loading branch information
Guilherme Blanco committed Aug 3, 2013
1 parent 36e7e3c commit e0fd377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 152 deletions.
7 changes: 3 additions & 4 deletions lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -1071,13 +1071,12 @@ private function getCommitOrder(array $entityChangeSet = null)
$newNodes = array();

foreach ($entityChangeSet as $entity) {
$className = $this->em->getClassMetadata(get_class($entity))->name;
$class = $this->em->getClassMetadata(get_class($entity));

if ($calc->hasClass($className)) {
if ($calc->hasClass($class->name)) {
continue;
}

$class = $this->em->getClassMetadata($className);
$calc->addClass($class);

$newNodes[] = $class;
Expand Down Expand Up @@ -2875,7 +2874,7 @@ public function getSingleIdentifierValue($entity)

return isset($values[$class->identifier[0]]) ? $values[$class->identifier[0]] : null;
}

/**
* Tries to find an entity with the given identifier in the identity map of
* this UnitOfWork.
Expand Down
148 changes: 0 additions & 148 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2524Test.php

This file was deleted.

0 comments on commit e0fd377

Please sign in to comment.