mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
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:
parent
99849e55b4
commit
c71146611c
5 changed files with 66 additions and 6 deletions
|
@ -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") ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue