Task Validation

- Fixed validation bug whereby recurring child tasks inherited the
  parent status ("recurring") instead of the expected "pending".
- Modified 'add' command to code duplicated in Task::validate.
- Cleaned up associated bug.period.t unit test.
This commit is contained in:
Paul Beckingham 2011-08-31 01:34:59 -04:00
parent 8e34a02811
commit b09351c517
6 changed files with 24 additions and 32 deletions

View file

@ -93,8 +93,8 @@ public:
~TDB2 ();
void set_location (const std::string&);
void add (const Task&);
void modify (const Task&);
void add (Task&);
void modify (Task&);
void commit ();
void synch ();
void revert ();