Modify

#10793 closed defect (fixed)

TracError if a repo is badly configured

Reported by: ejucovy Owned by: 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 (0)

Change History (1)

comment:1 Changed 19 months ago by ejucovy

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from ejucovy. Next status will be '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.