3537: HTTP 500 Error when changing repo name in admin view.

tomas.b*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 20, 2014
What version are you running?
1.7.22


What's the URL of the page containing the problem?
https://review.salsitasoft.com/admin/db/scmtools/repository/117/

What steps will reproduce the problem?
1. Log in to the admin site
2. Try to change the name of an existing repo
3. Hit "save"

What is the expected output? What do you see instead?
Expected: repo name is changed. Actual: Error 500 (see stack trace below).


What operating system are you using? What browser?
Mac OS X, 10.9.2 Chrome 36


Please provide any additional information below.


Stack Trace:

None - tomas.brambora - /admin/db/scmtools/repository/108/ - Internal Server Error: /admin/db/scmtools/repository/108/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/contrib/admin/options.py", line 366, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/utils/decorators.py", line 91, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/views/decorators/cache.py", line 89, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/contrib/admin/sites.py", line 196, in inner
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/utils/decorators.py", line 25, in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/utils/decorators.py", line 91, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/utils/decorators.py", line 21, in bound_func
    return func(self, *args2, **kwargs2)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/transaction.py", line 224, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/contrib/admin/options.py", line 1035, in change_view
    if form.is_valid():
  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/scmtools/forms.py", line 988, in is_valid
    if not super(RepositoryForm, self).is_valid():
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/forms/forms.py", line 124, in is_valid
    return self.is_bound and not bool(self.errors)
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/forms/forms.py", line 115, in _get_errors
    self.full_clean()
  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/scmtools/forms.py", line 803, in full_clean
    super(RepositoryForm, self).full_clean()
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/forms/forms.py", line 272, in full_clean
    self._post_clean()
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/forms/models.py", line 332, in _post_clean
    self.instance.clean()
  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/scmtools/models.py", line 366, in clean
    parames={'field': 'path'})
TypeError: __init__() got an unexpected keyword argument 'parames'
david
#1 david
This was fixed in 1.7.23.
  • +Fixed