﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10792	TracError after removing an indexed repository	ejucovy	ejucovy	"To reproduce:

 1. Add a repo to Trac
 1. Use the multireposearchplugin's sqlindexer to index the repo's files
 1. Remove the repo from Trac
 1. Search for a term that exists in the repo's file contents

The system will throw a `AttributeError: 'NoneType' object has no attribute 'get_node'` with this stack trace:
{{{

File ""/home/trac/web/ve/src/trac/trac/web/main.py"", line 497, in _dispatch_request
File ""/home/trac/web/ve/src/trac/trac/web/main.py"", line 214, in dispatch
File ""/home/trac/web/ve/src/trac/trac/search/web_ui.py"", line 106, in process_request
File ""/home/trac/web/ve/src/trac/trac/search/web_ui.py"", line 214, in _do_search
File ""/home/trac/web/ve/src/multireposearch/multireposearch/search.py"", line 89, in get_search_results
}}}

Instead, these search results should be discarded."	defect	closed	high	MultiRepoSearchPlugin	major	fixed			
