Description
When removing an entry in the OpenID server user preferences, the Moin 1.8 request API is used to get the request method, thus causing an error.
Steps to reproduce
- Have an OpenID server association set up.
- Go into the OpenID server user preferences.
- Try and delete the "trusted websites" association.
Component selection
MoinMoin.userprefs.oidserv
Details
The traceback ends with this:
File ".../MoinMoin/action/userprefs.py", line 95, in execute text, title, msg_class, msg = _create_page(request) File ".../MoinMoin/action/userprefs.py", line 67, in _create_page msg_class, msg = _handle_submission(request) File ".../MoinMoin/action/userprefs.py", line 34, in _handle_submission res = obj.handle_form() File ".../MoinMoin/userprefs/oidserv.py", line 57, in handle_form if self.request.request_method != 'POST': File ".../MoinMoin/web/contexts.py", line 224, in __getattr__ return super(HTTPContext, self).__getattribute__(name) AttributeError: 'AllContext' object has no attribute 'request_method'
MoinMoin Version |
1.9.3 |
OS and Version |
Kubuntu 8.04 |
Python Version |
2.5.2 |
Server Setup |
CGI |
Server Details |
Apache 2.2.8 |
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
You need to apply the given patch.
Discussion
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.9/rev/79632f998d6e - thanks for the patch!