Item10022: Upgrading multiple extensions only performs first action

Priority: Urgent
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: Configure
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
Configure extensions installer: When checking multiple extensions, only the first action gets performed. So instead of upgrading 4 extensions, only the first one gets upgraded.

-- ArthurClemens - 14 Nov 2010

This isn't good. I've somehow broken this in passing the actions through the password screen. The submit from the extension finder passes in multiple instances of the parameter: (from Firebug:)
Parts        multipart/form-data
processExt   all
action       ManageExtensions

However the post entered from the password screen only passes through a single instance of the parameter.
Parts        multipart/form-data
time         1289785637
processExt   all
action       ManageExtensions
cfgAccess    asdfaqwer

I expect it's a template issue, but I'm not sure yet how to pass multiple instances of the parameter through the form.

The template / form has:
    <#if params??>${params}</#if>

This should be populated by all of the parameters in the query, using the Foswiki query object to return the params.

Debug prints stateements added to lib/Foswiki/Configure/UIs/ seems to show that duplicate parms are not returned. This is a deeper issue in the Foswiki request object.

-- GeorgeClark - 15 Nov 2010

Thanks to Sven, issue is in Configure/UIs/ where it uses a scalar to return each parameter. Needs to use an array to process multiple value params. See

-- GeorgeClark - 15 Nov 2010

ItemTemplate edit

Summary Upgrading multiple extensions only performs first action
ReportedBy ArthurClemens
Codebase 1.1.2, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Urgent
CurrentState Closed
Checkins distro:118e31b34d8b distro:cfc9e15bb88c
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r7 - 16 Apr 2011, KennethLavrsen - This page was cached on 26 Nov 2015 - 05:12. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License