Modify ↓
      
Opened 10 years ago
Closed 10 years ago
#12468 closed enhancement (fixed)
Raise TracError if configuration file missing
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos | 
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.11 | 
| Component: | general | Version: | |
| Severity: | normal | Keywords: | environment | 
| Cc: | Branch: | ||
| Release Notes: | 
           
  | 
      ||
| API Changes: | 
           
The   | 
      ||
| Internal Changes: | |||
Description
If the configuration file is missing, trac.ticket.default_workflow.ConfigurableTicketWorkflow will return True from its implementation of EnvironmentSetupParticipant.needs_upgrade. The following error is seen:
Error TracError: The Trac Environment needs to be upgraded. Run "trac-admin /Users/rjollos/Documents/Workspace/trac-dev/tracenvs/proj-1.1 upgrade"
Instead, we could check for configuration file existence and raise an error.
Attachments (0)
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Proposed changes in log:rjollos.git:t12468_raise_tracerror_on_missing_config.