Opened 9 years ago

Closed 9 years ago

#2721 closed enhancement (wontfix)

Extend error messages

Reported by: anonymous Owned by: qwp0
Priority: normal Component: ProgressMeterMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


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 9 years ago by qwp0

  • Status changed from new to assigned
  • Summary changed from when to Extend error messages
  • Type changed from defect to enhancement

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 9 years ago by qwp0

  • Resolution set to wontfix
  • Status changed from assigned to 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.

Add Comment

Modify Ticket

as closed The owner will remain qwp0.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.