We just saw this in production on RB 1.7.5 when a user made a review.

Traceback (most recent call last):

  File "/scr/rbvirtualenv/lib/
python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py", 
line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

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

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

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/resources.py",
 
line 462, in __call__
    result = view(request, api_format=api_format, *args, **kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/resources.py",
 
line 681, in put
    return self.update(request, *args, **kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/ReviewBoard-1.7.5-py2.6.egg/reviewboard/webapi/decorators.py",
 
line 127, in _check
    return view_func(*args, **kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/decorators.py",
 
line 88, in _checklogin
    return view_func(*args, **kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/decorators.py",
 
line 62, in _call
    return view_func(*args, **kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/decorators.py",
 
line 235, in _validate
    return view_func(*args, **new_kwargs)

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/ReviewBoard-1.7.5-py2.6.egg/reviewboard/webapi/resources.py",
 
line 658, in update
    **kwargs):

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/ReviewBoard-1.7.5-py2.6.egg/reviewboard/webapi/resources.py",
 
line 286, in should_update_issue_status
    .issue_string_to_status(kwargs.get('issue_status', None)) \

  File 
"/scr/rbvirtualenv/lib/python2.6/site-packages/ReviewBoard-1.7.5-py2.6.egg/reviewboard/reviews/models.py",
 
line 1386, in issue_string_to_status
    raise Exception("Invalid issue status '%s'" % status)

Exception: Invalid issue status 'None'

It looks like None is never a valid value to pass to 
issue_string_to_status, so it probably shouldn't be the default or there 
should be some other error handling there.

Cheers,
M

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to