Bug #319

Removing tag from multiple tasks at once causes incorrect change summary

Added by Cory Donnelly 288 days ago. Updated 275 days ago.

Status:Closed Start:11/18/2009
Priority:Low Due date:
To:Paul Beckingham % Done:

100%

Category:core Spent time: 1.00 hour
Target version:1.8.5 - PAUL Estimated time:1.00 hour

Description

Experienced in version v1.8.3. Removing an existing tag from multiple tasks causes the 'No changes were made' message to be displayed for each task, even though an action was performed.

Here the tags are added:

$ task 22,32,52 +foo

Task 22 "Task One" 
  - tags was set to 'foo'
Are you sure? (yes/no/all) y

Task 32 "Task Two" 
  - tags was set to 'foo'
Are you sure? (yes/no/all) y

Task 52 "Task Three" 
  - tags was set to 'foo'
Are you sure? (yes/no/all) y
Modified 3 tasks

Here they are removed:

$ task 22,32,52 -foo

Task 22 "Task One" 
  - No changes were made
Are you sure? (yes/no/all) y

Task 32 "Task Two" 
  - No changes were made
Are you sure? (yes/no/all) y

Task 52 "Task Three" 
  - No changes were made
Are you sure? (yes/no/all) y
Modified 3 tasks

History

Updated by Paul Beckingham 275 days ago

  • Status changed from New to Closed
  • Target version set to 1.8.5 - PAUL
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

There was a logic error in the "diff" results analysis.

Also available in: Atom PDF