Modify

Opened 16 years ago

Closed 16 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 16 years ago by Andrej Tokarčík

Status: newassigned
Summary: whenExtend error messages
Type: defectenhancement

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...

comment:2 Changed 16 years ago by Andrej Tokarčík

Resolution: wontfix
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andrej Tokarčík.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.