Item8985: FormPlugin#Upload_form does not work

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: FormPlugin
Branches:
Reported By: IngoWolf
Waiting For: Main.ArthurClemens
Last Change By: ArthurClemens
FormPlugin#Upload_form does not work. Neither with GET nor POST. -- IngoWolf - 06 May 2010

As in http://foswiki.org/Support/Question460

-- IngoWolf - 06 May 2010

I will look at it this weekend.

-- ArthurClemens - 07 May 2010

With validation disabled - which is needed for upload according to the documentation, the URL is cleared. The following fix resolves the issue:

(10:52:20 AM) gac410: Change line   undef $actionUrl if $disableValidation;   to
(10:52:27 AM) gac410: undef $actionUrl if ($disableValidation && ! $action eq 'upload' ); 

-- GeorgeClark - 10 May 2010

For the readers of this bug: on or near line 427 in lib/Foswiki/Plugins/FormPlugin.pm

-- PaulHarvey - 10 May 2010

Fixed in version 1.6.

-- ArthurClemens - 28 May 2010

 
Topic revision: r10 - 28 May 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy