Modify

Opened 4 years ago

Closed 4 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

Description

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 4 years ago by osimons

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.