Ticket #10793 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

TracError if a repo is badly configured

Reported by: ejucovy Assigned to: ejucovy
Priority: high Component: MultiRepoSearchPlugin
Severity: major Keywords:
Cc: Trac Release:

Description

To reproduce:

  1. Add a repo to Trac
  2. Use the multireposearchplugin's sqlindexer to index the repo's files
  3. Remove the repo from the filesystem, but leave it configured in Trac
  4. Search for a term that exists in the repo's file contents

The system will throw a different error depending on the version control backend used. For Git, it will look like /path/to/repository.git/ does not appear to be a Git repository.

Instead of throwing a system error, this exception should be caught and logged, and the offending search result should be ignored.

Attachments

Change History

01/11/13 23:02:16 changed by ejucovy

  • status changed from new to closed.
  • resolution set to fixed.

Add/Change #10793 (TracError if a repo is badly configured)




Change Properties
Action