Description

When uploading a file with the "action=AttachFile", after the successful upload of the desired file, the "action=AttachFile" is lost in the query-string / adressline of the browser.

Steps to reproduce

  1. Choose AttachFile

  2. Upload a file
  3. After Upload the query-string simply shows the page name without action-supplement

Example

Details

MoinMoin Version

1.5.4

OS and Version

Python Version

Server Setup

Server Details

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

Workaround

Discussion

Why is this a bug? There is no way for the programmer to recognize wether the wikipage is shown or some meta-information as "info" or "AttachFile". I use in my theme "self.request.query_string" to build the sidebars depending on the situation, the user is in. When the user sees meta-information on the current wikipage (like info, diff,), he gets a new button in the sidebar, to return to the original page. That's just for user convinience. I know there are other ways to achieve this like clicking on the sitename in the navibar.

For me, this seems to be a bug, since it's some incoherent behaviour. Normally, you always do have the action-supplement when metainfo on the original wikipage is shown. And after file upload you do not see the original page..

May be the rename name for an upload could be cleared after the upload so you can upload an additional file without emptying that manually. -- ReimarBauer 2006-08-08 15:23:24

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/NoActionInQueryStringAfterFileUpload (last edited 2007-10-29 19:08:11 by localhost)