Foswiki on GitHub is open for business! Next release meeting: Monday September 1, 1300Z

Item8792: pre/post install & uninstall routines not run when extension installed by bin/configure

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine extender.pl  
This is addressed by Tasks.Item8640 in 1.1, but 1.0 needs a fix to 1.0.9

The extender.pl routine only calls the pre/post routines when extender.pl does the unpack of the extension archive. When the web bin/configure EXTEND.pm unpacks the archive, the pre/post routines get skipped for that extension. However if dependencies are resolved by extender.pl, those archives get unpacked by extender.pl, so the pre/post routines are executed.

extender.pl should be changed to always invoke the pre/post routines, regardless of whether or not extender.pl unpacked the archive.

-- GeorgeClark - 28 Mar 2010

Actually the post routines always run, the pre-routine is skipped only for the top extension. So a workaround is to move processing to the post routines where possible.

-- GeorgeClark - 28 Mar 2010

This is resolved in 1.1 by the rewrite of the package installer. Too complex to fix for 1.0.

-- GeorgeClark - 23 Jun 2010

Changing status to Deferred (which is not a choice) so No action required. This is fixed in 1.1

-- GeorgeClark - 13 Sep 2010
 

ItemTemplate edit

Summary pre/post install & uninstall routines not run when extension installed by bin/configure
ReportedBy GeorgeClark
Codebase 1.0.9
SVN Range
AppliesTo Engine
Component extender.pl
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r5 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License