Bug #1036
- Remove the test that prevents 'until' attributes to be modified for non-recurring tasks (thanks to Stéphane Pezennec). - Unit test. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
99849e55b4
commit
c71146611c
@@ -83,11 +83,6 @@ int CmdModify::execute (std::string& output)
|
||||
!before.has ("due"))
|
||||
throw std::string (STRING_CMD_MODIFY_NO_DUE);
|
||||
|
||||
if (task->has ("until") &&
|
||||
!task->has ("recur") &&
|
||||
!before.has ("recur"))
|
||||
throw std::string (STRING_CMD_MODIFY_UNTIL);
|
||||
|
||||
if (before.has ("recur") &&
|
||||
before.has ("due") &&
|
||||
(!task->has ("due") ||
|
||||
|
||||
Reference in New Issue
Block a user