- **status**: review --> closed
- **Comment**:

Merged.



---

** [tickets:#8276] Turbogears 2.3.2 upgrade followup fixes**

**Status:** closed
**Milestone:** unreleased
**Created:** Thu Apr 11, 2019 03:32 PM UTC by Dave Brondsema
**Last Updated:** Thu Apr 11, 2019 05:05 PM UTC
**Owner:** Dave Brondsema


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
```


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to