Open coddingtonbear opened 2 years ago
For reference, this would happen during serialization, not deserialization, and AFAICT this is no longer an issue with taskw since UDAs at the time of testing this do update existing fields, e.g., for the priority field.
The relevant part of the code is here: https://github.com/ralphbean/taskw/blob/3256c92bed4bb3d53269c843e8201e9ac65780cc/taskw/task.py#L68-L70
As long ago as Taskwarrior 2.4.3, the
priority
field is no longer a built-in field (https://taskwarrior.org/docs/priority.html), and should users re-definepriority
as a UDA having values other thanH
,M
, andL
while the aforementioned field definition is in place, an exception will be raised when deserializing: