Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3820 by [email protected]: search errors with 500 if a number is
used as input (e.g. bug#)
https://code.google.com/p/reviewboard/issues/detail?id=3820
*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** [email protected]. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to [email protected]
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.
What version are you running?
2.0.15
What's the URL of the page containing the problem?
http://myhostingsite/search/?q=20559874
What steps will reproduce the problem?
1. search for a (bug) number , e.g. 20559874
2.
3.
What is the expected output? What do you see instead?
Expected output is search result
We see :
Something broke! (Error 500)
It appears something broke when you tried to go to here. This is either a
bug in Review Board or a server configuration error. Please report this to
your administrator.
What operating system are you using? What browser?
Windows 7 64bit Enterprise
Firefox
can be reproduced on any browser+OS combo though
Please provide any additional information below.
Error from the mail to admin, resp. log is:
2015-03-25 08:25:00,811 - ERROR - - Exception thrown for user XXX at
http://XXXXXX/search/?q=20559874
'RBSearchView' object has no attribute 'active_filters'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py",
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/accounts/decorators.py",
line 23, in _check
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-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 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py",
line 221, in search
return search_view(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py",
line 83, in __call__
return super(RBSearchView, self).__call__(request)
File "/usr/local/lib/python2.7/dist-packages/django_haystack-2.1.0-py2.7.egg/haystack/views.py",
line 50, in __call__
return self.create_response()
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py",
line 209, in create_response
context.update(self.extra_context())
File "/usr/local/lib/python2.7/dist-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'
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.