Description

The move attachment function does not seem to have any effect when using moinmoin with mod_python. When I enter a new name or page in the form and click move, the form just stays visible and goes back to the initial values. However, I could not find any error log of something failing either.

Task: try to reproduce with moin 1.6. Insert debugging (logging.debug()) lines to find the reason for this. If it is easy, fix it. Otherwise just describe the reason.

This task needs about 10h of work and must be finished in 7 days.

Steps to reproduce

  1. configure your webserver to use mod_python
  2. go to a wiki page with attachments, for example WikiSandBox

  3. click on the attachments link

  4. click move for one of the attachments, for example mytest.draw

  5. the input form will open, change the name to something like mytest1.draw for example

  6. click move and the name field of the form will revert back to mytest.draw; nothing else happens

  7. configure your webserver to execute moinmoin as cgi
  8. repeat steps 2 to 5, this time the attachment will be renamed when you click move

Example

Component selection

Details

MoinMoin Version

Release 1.5.8 [Revision release]

OS and Version

Debian GNU/Linux stable with default kernel

Python Version

2.4.4 (#1, Apr 5 2007, 20:09:06) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]

Server Setup

Apache version 2.2.3-4+etch1 with mod_python

Server Details

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

english

Workaround

Discussion

This bug is reproducible on:

MoinMoin Version

Release 1.6.0 [Revision release]

OS and Version

Win XP

Python Version

2.5.1

Server Setup

Apache 2.0.59 with mod_python 3.3.1

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

english

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MoveAttachmentNotWorkingWithModPython (last edited 2008-03-22 14:28:07 by JohannesBerg)