#8008 Setting forum icon is broken

unreleased
duplicate
nobody
None
General
nobody
2015-11-05
2015-10-21
No

Trying to set forum icon at /p/test/admin/discussion/forums generating an exception

URL: http://localhost:8080/p/test/admin/discussion/update_forums
File '/usr/local/lib/python2.7/dist-packages/weberror/evalexception.py', line 438 in respond
  return_iter = list(app_iter)
File '/usr/local/lib/python2.7/dist-packages/paste/registry.py', line 409 in streaming_iter
  for item in self.application(environ, start_response):
File '/usr/local/lib/python2.7/dist-packages/ming/odm/middleware.py', line 20 in __call__
  result = self.app(environ, start_response)
File '/allura/Allura/allura/lib/custom_middleware.py', line 60 in __call__
  return self.app(environ, start_response)
File '/usr/local/lib/python2.7/dist-packages/ew/middleware.py', line 65 in __call__
  result = self.app(environ, start_response)
File '/allura/Allura/allura/lib/custom_middleware.py', line 263 in __call__
  return resp(environ, start_response)
File '/allura/Allura/allura/config/middleware.py', line 203 in AlluraGlobalsMiddleware
  return app(environ, start_response)
File '/allura/Allura/allura/lib/custom_middleware.py', line 217 in __call__
  return self._app(environ, session_start_response)
File '/usr/local/lib/python2.7/dist-packages/timermiddleware/__init__.py', line 196 in __call__
  resp = req.get_response(self.app)
File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1053 in get_response
  application, catch_exc_info=False)
File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1022 in call_application
  app_iter = application(self.environ, start_response)
File '/allura/Allura/allura/lib/custom_middleware.py', line 156 in __call__
  self.app, environ, catch_exc_info=True)
File '/usr/local/lib/python2.7/dist-packages/pylons/util.py', line 48 in call_wsgi_application
  app_iter = application(environ, start_response)
File '/allura/Allura/allura/lib/custom_middleware.py', line 386 in __call__
  return self.app(environ, remember_login_start_response)
File '/usr/local/lib/python2.7/dist-packages/beaker/middleware.py', line 155 in __call__
  return self.wrap_app(environ, session_start_response)
File '/usr/local/lib/python2.7/dist-packages/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/usr/local/lib/python2.7/dist-packages/pylons/wsgiapp.py', line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/usr/local/lib/python2.7/dist-packages/pylons/wsgiapp.py', line 312 in dispatch
  return controller(environ, start_response)
File '/allura/Allura/allura/lib/base.py', line 49 in __call__
  environ, start_response)
File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py', line 211 in __call__
  response = self._dispatch_call()
File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File '/usr/local/lib/python2.7/dist-packages/tg/controllers/dispatcher.py', line 258 in _perform_call
  r = self._call(func, params, remainder=remainder)
File '/usr/local/lib/python2.7/dist-packages/tg/controllers/decoratedcontroller.py', line 120 in _call
  output = controller_callable(*remainder, **dict(params))
File '/allura/ForgeDiscussion/forgediscussion/forum_main.py', line 314 in update_forums
  self.save_forum_icon(forum, f['icon'])
AttributeError: 'ForumAdminController' object has no attribute 'save_forum_icon'

Related

Tickets: #8007

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-11-05
    • status: open --> duplicate
     

Log in to post a comment.