- Upgrades legacy recur values.
This commit is contained in:
Paul Beckingham
2014-10-07 00:24:03 -04:00
parent 108a4c7959
commit 1a5fb437a5
3 changed files with 50 additions and 5 deletions

View File

@@ -580,6 +580,7 @@ void TDB2::modify (Task& task, bool add_to_backlog /* = true */)
{
// Ensure the task is consistent, and provide defaults if necessary.
task.validate (false);
task.upgradeLegacyValues ();
std::string uuid = task.get ("uuid");
// Get the unmodified task as reference, so the hook can compare.