#8276 Turbogears 2.3.2 upgrade followup fixes

v1.11.0
closed
None
General
nobody
2019-06-17
2019-04-11
No

Followups to [#8273] to fix issues like:

 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/wsgiapp.py', line 105 in __call__
   response = self.wrapped_dispatch(controller, environ, context)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/wsgiapp.py', line 278 in dispatch
   return controller(environ, context)
 File '/var/local/allura/Allura/allura/lib/base.py', line 42 in __call__
   return super(WsgiDispatchController, self).__call__(environ, context)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/controllers/dispatcher.py', line 123 in __call__
   response = self._perform_call(context)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/controllers/dispatcher.py', line 104 in _perform_call
   r = self._call(func, params, remainder=remainder, context=context)
 File '/var/local/allura/Allura/allura/lib/patches.py', line 127 in _call
   return old_controller_call(self, controller, *args, **kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/controllers/decoratedcontroller.py', line 98 in _call
   controller=controller, context_config=context_config)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/configuration/hooks.py', line 120 in notify
   func(*args, **kwargs)
 File '/var/local/allura/Allura/allura/lib/utils.py', line 412 in antispam_hook
   raise Invalid(error_msg, params, None)
 Invalid: Spambot protection engaged

HTTPFound raised when logging in with expired password:

File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/wsgiapp.py', line 105 in __call__
  response = self.wrapped_dispatch(controller, environ, context)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/wsgiapp.py', line 278 in dispatch
  return controller(environ, context)
File '/var/local/allura/Allura/allura/lib/base.py', line 41 in __call__
  self._setup_request()
File '/var/local/allura/Allura/allura/controllers/root.py', line 103 in _setup_request
  c.user = plugin.AuthenticationProvider.get(request).authenticate_request()
File '/var/local/allura/Allura/allura/lib/plugin.py', line 145 in authenticate_request
  redirect(location)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.3.2-py2.7.egg/tg/controllers/util.py', line 167 in redirect
  raise redirect_with(location=new_url)
HTTPFound: The resource was found at

Related

Tickets: #8273

Discussion

  • Dave Brondsema

    Dave Brondsema - 2019-04-11
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2019-04-11

    Fixes on db/8276

     
  • Kenton Taylor

    Kenton Taylor - 2019-04-11
    • status: review --> closed
     
  • Kenton Taylor

    Kenton Taylor - 2019-04-11

    Merged.

     
  • Dave Brondsema

    Dave Brondsema - 2019-06-17
    • Milestone: unreleased --> v1.11.0
     

Log in to post a comment.