4039: Comment Categorization extension drop-down is empty

pawolf

What version are you running?

2.5.2

What's the URL of the page containing the problem?

/r/286/file/92/

What steps will reproduce the problem?

  1. Install extension -- sudo easy_install -U rbcommenttype
  2. Restart apache
  3. Use the admin/extension page to enable the extension and configure several types.
  4. Go to a review and add a new comment.

What is the expected output? What do you see instead?

Expected to see a dropdown with the types I configured. Instead, the dropdown is empty and I see the following error in the log:
- Error rendering TemplateHook <djblets.extensions.hooks.TemplateHook object at 0x7fbe9ef63590>: rbcommenttype-types.html
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 32, in _render_hooks
yield hook.render_to_string(request, context)
File "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/extensions/hooks.py", line 246, in render_to_string
RequestContext(request, context))
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/loader.py", line 162, in render_to_string
t = get_template(template_name)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/loader.py", line 138, in get_template
template, origin = find_template(template_name)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/template/loader.py", line 131, in find_template
raise TemplateDoesNotExist(name)
TemplateDoesNotExist: rbcommenttype-types.html

What operating system are you using? What browser?

Ubuntu 14.04, FireFox 42

Please provide any additional information below.

david
#1 david

This is fixed in rbcommenttype 1.0.1

  • -New
    +Fixed
pawolf
#2 pawolf

Works great. Thanks!