Labels: Type-Defect Priority-Medium
New issue 3549 by rasp...@gmail.com: AttibuteError when opening review with
just filled in Note to Reviewers
What version are you running?
ReviewBoard 2.0.6 and Note To Reviewers 1.0
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. I had a review open, posted with rbt and filled with description on the
2. I published the review.
3. I clicked on code diff to report an issue.
4. I published the review.
5. I entered additional explanation in 'Note to reviewers' field.
6. I published the review.
7. The mail of change was sent.
What is the expected output? What do you see instead?
It should present updated review. Instead it generates a HTTP 500 error. It
is impossible to open the review again since it always fails with HTTP 500.
Disabling 'Note to Reviewers' extension brought the review back to life.
Please note that I had used this extension before without such problems.
What operating system are you using? What browser?
I run Firefox 31 on Windows 7. Review Board server is hosted on a
RedHatEnterpriseLinux 5.9 x86_64.
Please provide any additional information below.
When HTTP 500 is thrown, an exception is logged:
2014-09-02 15:28:54,825 - ERROR - - Exception thrown for user user at
'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
line 21, in _check
return login_required(view_func)(*args, **kwargs)
line 22, in _wrapped_view
return view_func(request, *args, **kwargs)
line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)
line 660, in review_detail
line 159, in get_change_entry_sections_h
line 484, in render_change_entry_html
old_value = render_markdown(old_value)
line 209, in render_markdown
return markdown(text, **MARKDOWN_KWARGS)
line 411, in markdown
line 275, in convert
if not source.strip():
AttributeError: 'NoneType' object has no attribute 'strip'
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.