Status: Started
Owner: trowb...@gmail.com
Labels: Type-Defect Priority-Medium Component-API

New issue 3258 by trowb...@gmail.com: POST /api/review-requests/<id>/diffs/ fails if the review request doesn't have a repository
http://code.google.com/p/reviewboard/issues/detail?id=3258

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/views/decorators/vary.py", line 19, in inner_func
    response = func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/resources.py", line 445, in __call__
    result = view(request, api_format=api_format, *args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/resources.py", line 663, in post
    return self.create(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 115, in _call
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 136, in _checklogin
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 115, in _call
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0beta3-py2.6.egg/reviewboard/webapi/decorators.py", line 110, in _check
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 115, in _call
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 115, in _call
    return view_func(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Djblets-0.8alpha3-py2.6.egg/djblets/webapi/decorators.py", line 285, in _validate
    return view_func(*args, **new_kwargs)

File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0beta3-py2.6.egg/reviewboard/webapi/resources/diff.py", line 272, in create
    request=request)

File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0beta3-py2.6.egg/reviewboard/reviews/forms.py", line 95, in __init__
    data, *args, **kwargs)

File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0beta3-py2.6.egg/reviewboard/diffviewer/forms.py", line 41, in __init__
    if self.repository.get_scmtool().get_diffs_use_absolute_paths():

AttributeError: 'NoneType' object has no attribute 'get_scmtool'

--
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/groups/opt_out.

Reply via email to