Edgewall Software

Opened 8 years ago

Last modified 8 years ago

#12468 closed enhancement

Raise TracError if configuration file missing — at Initial Version

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:
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.

Change History (0)

Note: See TracTickets for help on using tickets.