Description
Action.getHandler seems to use a slightly different call parameter in 1.9 in comparison to 1.8.
The 3rd party extension macro "FreemindSitemap" creates a handler object for calling the action "FreemindSitemap". The arguments for calling action.getHandler differ between 1.8 and 1.9 for no reason.
For backwards compatibility reasons the interfaces between 1.8 and 1.9 should stay the same.
Steps to reproduce
I get an exception if I call action.getHandler with
... action.getHandler(self.request, ...)
in MoinMoin 1.9 like I did it in version 1.8.
In 1.9 it has to be called like this:
... action.getHandler(self.request.cfg, ...)
Component selection
action/__init__.py
Details
MoinMoin Version |
1.9beta4 |
OS and Version |
Kubuntu 9.04 |
Python Version |
2.6.1 |
Server Setup |
wikiserver.py |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
english |
Workaround
Call action.getHandler with different parameters in 1.8 and 1.9
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: fixed by http://hg.moinmo.in/moin/1.9/rev/61ce73eb13a0