Opened 8 years ago

Closed 8 years ago

#6717 closed enhancement (wontfix)

Check of consistence values

Reported by: anonymous Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


It would be great if XMLRpc could check that values like component, priority, severity or version are valid. We have some cases where someone add ticket with priority 0 to indicate that it's really important.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by osimons

Resolution: wontfix
Status: newclosed

To me it sounds like a limitation of your RPC client - or the application that interface with the Trac via RPC calls. All the valid priorities can be fetched by the client, and when presenting this to your user as options it shouldn't allow arbitrary values.

Other than that, RPC plugin uses the Trac APIs to store the data. If those APIs let us save without eror, then the task of defining and coding all varieties of 'valid' changes is going to be a very painful experience...

I don't see the plugin defining and enforcing its own rules for data behaviour - neither for current or future modules.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain osimons.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.