Modify ↓
Opened 12 years ago
Closed 12 years ago
#10845 closed enhancement (fixed)
Validate configuration
Reported by: | ejucovy | Owned by: | ejucovy |
---|---|---|---|
Priority: | normal | Component: | WorkflowNotificationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
There should be some validation of the configuration and its templates. Otherwise, an invalid configuration will mean that end users will see trac errors when the plugin is in use.
At minimum, this should verify that the configuration is well formed, and that every templated configuration value can be parsed by genshi's TextTemplate
class without error.
There should be a trac-admin command to invoke this, and perhaps also a configuration option for wiring it into an environment setup participant.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
The next release will include a trac-admin command that does this and prints an error message if a piece of the configuration fails to validate: