Modify ↓
Opened 17 years ago
Closed 17 years ago
#2721 closed enhancement (wontfix)
Extend error messages
Reported by: | anonymous | Owned by: | Andrej Tokarčík |
---|---|---|---|
Priority: | normal | Component: | ProgressMeterMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Works as milestone V1.0 exists:
[[ProgressMeter(owner=peter, milestone=V1.0)]]
Does not work as milestone blabla does not exist:
[[ProgressMeter(owner=peter, milestone=blabla)]]
Trac reports an error, could be more explicit displaying for example : Your milestone does not exist!
Error: Macro ProgressMeter(owner=peter, milestone=dfg) failed float division
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|---|
Summary: | when → Extend error messages |
Type: | defect → enhancement |
comment:2 Changed 17 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
At last, I have decided to not modify the error messages. Still, the standard TicketQuery messages are used and wrong input by user produces an (exactly unspecified) error.
Note: See
TracTickets for help on using
tickets.
The reason for this behaviour is that arguments provided by user are immediately passed to TicketQuery macro and it works with them -- it means the plugin itself doesn't test values of the arguments. All I can do is to make the error messages more user-friendly (it'll be clear where exactly the error occured) but the process will be stopped -- it's still error when an user provides incorrect arguments.
Thanks for report...