IndustrialDragonfly / DEdC

Collaborative DFD Editor
MIT License
6 stars 1 forks source link

calling update on a Diagram that has decendents breaks things #98

Open JoshuaJClark opened 10 years ago

JoshuaJClark commented 10 years ago

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