Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3848 by der.se...@gmail.com: Reviewboard 2.0.15 search for a number leads to internal error.
https://code.google.com/p/reviewboard/issues/detail?id=3848

*What version are you running?*
2.0.15

*What's the URL of the page containing the problem?*
reviewboard/search/?q=09760642

*What steps will reproduce the problem?*
1. Search in the search box for a pure number e.g. 09760642
2. You will land on page: reviewboard/search/?q=09760642

*What is the expected output? What do you see instead?*
Expected: search for number 09760642
Error: Something broke! (Error 500)

- Exception thrown for user admin_new at reviewboard/search/?q=09760642

'RBSearchView' object has no attribute 'active_filters'
Traceback (most recent call last):
File "D:\Programs\Python27\lib\site-packages\django-1.6.11-py2.7.egg\django\core\handlers\base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\accounts\decorators.py", line 23, in _check
    return view_func(*args, **kwargs)
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\site\decorators.py", line 35, in _check
    return view_func(request, local_site=local_site, *args, **kwargs)
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\search\views.py", line 221, in search
    return search_view(*args, **kwargs)
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\search\views.py", line 83, in __call__
    return super(RBSearchView, self).__call__(request)
File "D:\Programs\Python27\lib\site-packages\django_haystack-2.3.1-py2.7.egg\haystack\views.py", line 50, in __call__
    return self.create_response()
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\search\views.py", line 209, in create_response
    context.update(self.extra_context())
File "D:\Programs\Python27\lib\site-packages\reviewboard-2.0.15-py2.7.egg\reviewboard\search\views.py", line 180, in extra_context
    for filter_type in self.FILTER_TYPES
AttributeError: 'RBSearchView' object has no attribute 'active_filters'

*What operating system are you using? What browser?*
Windows Server 2008 R2 Chrome

*Please provide any additional information below.
Workaround is to search for "09760642", therefore the problem should not be too hard to fix.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to