mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed bug where specifying an ID of 0 yielded all completed/deleted tasks (thanks to greenskeleton).
This commit is contained in:
parent
938077115e
commit
bcc9eb3d7a
6 changed files with 9 additions and 0 deletions
|
@ -65,6 +65,8 @@ Bugs
|
|||
+ #1300 Encode/decode pairing is now properly balanced.
|
||||
+ #1305 Commit hash now available in tarball builds (thanks to Ben Boeckel).
|
||||
+ Fixed bug so that 'limit:page' now considers footnote messages.
|
||||
+ Fixed bug where specifying an ID of 0 yielded all completed/deleted tasks
|
||||
(thanks to greenskeleton).
|
||||
|
||||
------ old releases ------------------------------
|
||||
|
||||
|
|
|
@ -1141,6 +1141,9 @@ const A3 A3::sequence (const A3& input) const
|
|||
if (ids.size () == 0 && uuids.size () == 0)
|
||||
return input;
|
||||
|
||||
if (ids.size () == 1 && ids[0] < 1)
|
||||
throw format (STRING_A3_ZERO_ID, ids[0]);
|
||||
|
||||
// Copy everything up to the first id/uuid.
|
||||
for (arg = input.begin (); arg != input.end (); ++arg)
|
||||
{
|
||||
|
|
|
@ -116,6 +116,7 @@
|
|||
#define STRING_A3_ID_AFTER_HYPHEN "Unrecognized ID after hyphen."
|
||||
#define STRING_A3_RANGE_INVERTED "Inverted range 'high-low' instead of 'low-high'"
|
||||
#define STRING_A3_UUID_AFTER_COMMA "Unrecognized UUID after comma."
|
||||
#define STRING_A3_ZERO_ID "'{1}' is not a valid ID."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "The color '{1}' is not recognized."
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
#define STRING_A3_ID_AFTER_HYPHEN "ID no reconocido tras guión."
|
||||
#define STRING_A3_RANGE_INVERTED "Rango invertido 'alto-bajo' en vez de 'bajo-alto'"
|
||||
#define STRING_A3_UUID_AFTER_COMMA "UUID no reconocido tras coma."
|
||||
#define STRING_A3_ZERO_ID "'{1}' is not a valid ID."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "El color '{1}' no se reconoce."
|
||||
|
|
|
@ -116,6 +116,7 @@
|
|||
#define STRING_A3_ID_AFTER_HYPHEN "Unrecognized ID after hyphen."
|
||||
#define STRING_A3_RANGE_INVERTED "Inverted range 'high-low' instead of 'low-high'"
|
||||
#define STRING_A3_UUID_AFTER_COMMA "Unrecognized UUID after comma."
|
||||
#define STRING_A3_ZERO_ID "'{1}' is not a valid ID."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "The color '{1}' is not recognized."
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
#define STRING_A3_ID_AFTER_HYPHEN "ID non riconosciuto dopo il trattino."
|
||||
#define STRING_A3_RANGE_INVERTED "Intervallo invertito 'alto-basso' invece di 'basso-alto'"
|
||||
#define STRING_A3_UUID_AFTER_COMMA "UUID non riconosciuto dopo la virgola."
|
||||
#define STRING_A3_ZERO_ID "'{1}' is not a valid ID."
|
||||
|
||||
// Color
|
||||
#define STRING_COLOR_UNRECOGNIZED "Il colore '{1}' non è riconosciuto."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue