TW-1420, TW-1421, TW-1422
- TW-1420 Modifying 'uuid' fails to generate error (thanks to Black Ops Testing).
- TW-1421 Modifying 'uuid' with bogus value can corrupt undo.data (thanks to
Black Ops Testing).
- TW-1422 Attempt to modify 'id' attribute creates an id attribute (thanks to
Black Ops Testing).
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -232,3 +232,4 @@ suggestions:
|
|||||||
Peter Vitt
|
Peter Vitt
|
||||||
dev-zero
|
dev-zero
|
||||||
Petteri
|
Petteri
|
||||||
|
Black Ops Testing
|
||||||
|
|||||||
@@ -159,6 +159,11 @@
|
|||||||
- TW-1409 Allow "1 of N tasks remaining" to be correctly localized (thanks to
|
- TW-1409 Allow "1 of N tasks remaining" to be correctly localized (thanks to
|
||||||
Jeremy John Reeder).
|
Jeremy John Reeder).
|
||||||
- TW-1415 The recurrence value 'month' is not valid (thanks to Petteri).
|
- TW-1415 The recurrence value 'month' is not valid (thanks to Petteri).
|
||||||
|
- TW-1420 Modifying 'uuid' fails to generate error (thanks to Black Ops Testing).
|
||||||
|
- TW-1421 Modifying 'uuid' with bogus value can corrupt undo.data (thanks to
|
||||||
|
Black Ops Testing).
|
||||||
|
- TW-1422 Attempt to modify 'id' attribute creates an id attribute (thanks to
|
||||||
|
Black Ops Testing).
|
||||||
- TW-1428 Add support for color.uda.<name>.<value> rules.
|
- TW-1428 Add support for color.uda.<name>.<value> rules.
|
||||||
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
||||||
'affected' verbosity tokens.
|
'affected' verbosity tokens.
|
||||||
|
|||||||
@@ -1938,6 +1938,14 @@ void Task::modify (modType type, bool text_required /* = false */)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Some columns are not modifiable.
|
||||||
|
if (name == "uuid" ||
|
||||||
|
name == "id" ||
|
||||||
|
name == "mask" ||
|
||||||
|
name == "imask" ||
|
||||||
|
name == "parent")
|
||||||
|
throw format (STRING_INVALID_MOD, name, value);
|
||||||
|
|
||||||
// Get the column info.
|
// Get the column info.
|
||||||
Column* column = context.columns[name];
|
Column* column = context.columns[name];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user