- #1268 Edit doesn't accept changes, if task has completed dependency (thanks
  to Dmitriy Matrosov, Michele Santullo).
This commit is contained in:
Paul Beckingham
2013-10-06 17:59:55 -04:00
parent bc3bae9fd2
commit 1872a87838
4 changed files with 7 additions and 18 deletions

View File

@@ -990,11 +990,6 @@ void Task::addDependency (const std::string& uuid)
if (uuid == get ("uuid"))
throw std::string (STRING_TASK_DEPEND_ITSELF);
// Check that uuid is resolvable.
int id = context.tdb2.pending.id (uuid);
if (id == 0)
throw format (STRING_TASK_DEPEND_MISS_CREA, id);
// Store the dependency.
std::string depends = get ("depends");
if (depends != "")