You are here: Foswiki>Tasks Web>Item2399 (01 Jun 2010, ArthurClemens)Edit Attach

Item2399: FormPlugin loses multi-value request params

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: ArthurClemens
when we switched to the FSA engine, $query->params('key') started to use wantarray, and so many legacy uses now fail silently, as they return the first element only

I see this as fundamentally a core bug, but i think it will have to be resolved by adding error logging code, not by removing the wantarray.

I'm going to commit a change that will at least stop losing input info, but am setting to Arthur as I don't know the code in FormPlugin

-- SvenDowideit - 23 Nov 2009

That would be great as I have received a bug report on FP and had no idea where to fix this.

-- ArthurClemens - 23 Nov 2009

IIRC, Foswiki::Request behaves this way cause CGI.pm does (or CGI::Lite, that is much easier to read).

-- GilmarSantosJr - 23 Nov 2009

Fixed in version 1.6.

-- ArthurClemens - 01 Jun 2010

ItemTemplate edit

Summary FormPlugin loses multi-value request params
ReportedBy SvenDowideit
Codebase
SVN Range SVN 5598: Foswiki-1.1.0-dev, Thu, 29 Oct 2009, build 5392
AppliesTo Extension
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins FormPlugin:f1b1b7dee2e4
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 01 Jun 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