task edit documentation suggests invalid command syntax

Bug #992866 reported by Bryce Harrington
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
task (Ubuntu)
Fix Released
Low
Unassigned
Precise
Fix Released
Low
Unassigned

Bug Description

[Impact]
In task 2.0 the calling syntax changed from 'task <cmd> <id>' to 'task <id> <cmd>'. However the directions for the task edit command weren't updated for the release.

[Development Fix]
This oversight was corrected in the upstream tree shortly after release.
A cherrypick of this fix was backported and uploaded to quantal.

Fixed in upstream commit c51b47269418ff975f111bc36714371a1db7b269

[Stable Fix]
Since we carry the same version of task in quantal and precise, the same patch is proposed for precise.

[Test Case]
1. Enter at least one new task
2. Run 'task 1 edit'
3. Read the first line of directions

Broken Behavior:
`task 1 edit`, first line of the directions shows:
# The 'task edit <id>' command allows you to modify all aspects of a task

this is wrong; 'task edit <id>' will result in editing ALL tasks.

Fixed Behavior:
In task 2.0 the args are swapped so this should be:

# The 'task <id> edit' command allows you to modify all aspects of a task

Regression Potential:
None expected. The fix is upstream and is simple enough in review.

Bryce Harrington (bryce)
Changed in task (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package task - 2.0.0.release-0ubuntu3

---------------
task (2.0.0.release-0ubuntu3) quantal; urgency=low

  * Add 100_fix_uuid_confusion.patch: Fix issue where deleting certain
    UUIDs results in deletion of all tasks.
    (LP: #992852)
  * Add 101_typo_edit_command.patch: Fix invalid command syntax in
    task edit command.
    (LP: #992866)
  * Add 102_fix_incorrect_projects_headers.patch: Fix inverted priority
    labels in task projects report.
    (LP: #992868)
 -- Bryce Harrington <email address hidden> Wed, 16 May 2012 20:13:39 -0700

Changed in task (Ubuntu):
status: Triaged → Fix Released
Bryce Harrington (bryce)
description: updated
Changed in task (Ubuntu):
status: Fix Released → Fix Committed
Changed in task (Ubuntu Precise):
importance: Undecided → Low
Changed in task (Ubuntu):
status: Fix Committed → Fix Released
Changed in task (Ubuntu Precise):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Bryce, or anyone else affected,

Accepted task into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Bryce Harrington (bryce) wrote :

Confirmed with task from precise-proposed that the proper edit documentation is present:

# The 'task <id> edit' command allows you to modify all aspects of a task

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package task - 2.0.0.release-0ubuntu2.1

---------------
task (2.0.0.release-0ubuntu2.1) precise-proposed; urgency=low

  * Add 100_fix_uuid_confusion.patch: Fix issue where deleting certain
    UUIDs results in deletion of all tasks.
    (LP: #992852)
  * Add 101_typo_edit_command.patch: Fix invalid command syntax in
    task edit command.
    (LP: #992866)
  * Add 102_fix_incorrect_projects_headers.patch: Fix inverted priority
    labels in task projects report.
    (LP: #992868)
 -- Bryce Harrington <email address hidden> Wed, 16 May 2012 20:13:39 -0700

Changed in task (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.