when a "root" diagram is updated it will clear itself from the ancestry table but will fail to add itself back in.
repo:
$dfd1 = DataFlowDiagram($this->storage);
$mp = new Multiprocess($this->storage, $dfd1t->getId());
$dfd2 = new DataFlowDiagram($this->storage, $mp->getId());
$dfd1->update();
now check the DB and you will see the ancestry table being empty instead of listing dfd1 as an ancestor of dfd2
when a "root" diagram is updated it will clear itself from the ancestry table but will fail to add itself back in. repo: $dfd1 = DataFlowDiagram($this->storage); $mp = new Multiprocess($this->storage, $dfd1t->getId()); $dfd2 = new DataFlowDiagram($this->storage, $mp->getId()); $dfd1->update(); now check the DB and you will see the ancestry table being empty instead of listing dfd1 as an ancestor of dfd2