Hi,

I tried to search for an attachment name in the Admin -> File attachment 
comments, and received the following traceback. Using RB 2.0.8.

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

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/contrib/admin/options.py",
 line 452, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/utils/decorators.py",
 line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-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.7-py2.6.egg/django/contrib/admin/sites.py",
 line 198, in inner
    return view(request, *args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/utils/decorators.py",
 line 29, in _wrapper
    return bound_func(*args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/utils/decorators.py",
 line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/utils/decorators.py",
 line 25, in bound_func
    return func(self, *args2, **kwargs2)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/contrib/admin/options.py",
 line 1326, in changelist_view
    self)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/contrib/admin/views/main.py",
 line 108, in __init__
    self.queryset = self.get_queryset(request)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/contrib/admin/views/main.py",
 line 394, in get_queryset
    request, qs, self.query)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/contrib/admin/options.py",
 line 791, in get_search_results
    queryset = queryset.filter(reduce(operator.or_, or_queries))

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/query.py",
 line 593, in filter
    return self._filter_or_exclude(False, *args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/query.py",
 line 611, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1204, in add_q
    clause = self._add_q(where_part, used_aliases)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1236, in _add_q
    current_negated)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1240, in _add_q
    current_negated=current_negated)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1103, in build_filter
    allow_explicit_fk=True)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1363, in setup_joins
    names, opts, allow_many, allow_explicit_fk)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/query.py",
 line 1283, in names_to_path
    "Choices are: %s" % (name, ", ".join(available)))

FieldError: Cannot resolve keyword 'caption' into field. Choices are: 
diff_against_file_attachment, extra_data, file_attachment, id, issue_opened, 
issue_status, replies, reply_to, review, rich_text, text, timestamp

Regards,
Alexey.

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 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/d/optout.

Reply via email to