Description

In Moin 1.9.2 (and at the time of reporting on 1.9 main branch), MoinMoin/userprefs/oidserv.py uses getPathinfo when building its form. This won't work with the updated HTTP request API in Moin 1.9.x.

Steps to reproduce

  1. Enable OpenID.
  2. Go to a user's setting page.
  3. Select OpenID server.

  4. In the Web server log, the following kind of error is shown:
      File ".../lib/python2.5/site-packages/MoinMoin/userprefs/oidserv.py", line 65, in _make_form
        pi = self.request.getPathinfo()
      File ".../lib/python2.5/site-packages/MoinMoin/web/contexts.py", line 224, in __getattr__
        return super(HTTPContext, self).__getattribute__(name)
    AttributeError: 'AllContext' object has no attribute 'getPathinfo'

Component selection

Details

MoinMoin Version

1.9.2

OS and Version

Kubuntu 8.04

Python Version

2.5.2

Server Setup

CGI

Server Details

Apache 2.2

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

Replace getPathinfo() with path, I suppose.

Discussion

Plan

Note: also did similar fixes for auth.cas, we also need tests and an active maintainer for that.


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/OpenIDServerPreferencesActionUsesObsoleteRequestAPI (last edited 2010-05-09 12:11:30 by ThomasWaldmann)