Item11750: Install-Scripts ignore the SystemWebName Parameter
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
We had some strange "bleeding" effects after installing the
EditChapterPlugin on a Test-Wiki. In our Setup, wie have different Wiki's, using the same Data and Pub but
different System folders. The
SystemWebName is set accordingly in
LocalSite.cfg.
It seems now, that some Extensions ignore this option and install hardcoded into System. As, for example in the
EditChapterPlugin installer:
__DATA__
<<<< MANIFEST >>>>
locale/EditChapterPlugin/de.po,0644,
locale/EditChapterPlugin/Foswiki.pot,0644,
data/System/EditChapterPlugin.txt,0644,
lib/Foswiki/Plugins/EditChapterPlugin/Core.pm,0644,
lib/Foswiki/Plugins/EditChapterPlugin.pm,0644,
pub/System/EditChapterPlugin/ecpjavascript.js,0644,
pub/System/EditChapterPlugin/ecpjavascript.js.gz,0644,
pub/System/EditChapterPlugin/ecpjavascript.uncompressed.js,0644,
pub/System/EditChapterPlugin/ecpstyles.css,0644,
pub/System/EditChapterPlugin/ecpstyles.css.gz,0644,
pub/System/EditChapterPlugin/ecpstyles.uncompressed.css,0644,
pub/System/EditChapterPlugin/Makefile,0644,
pub/System/EditChapterPlugin/pencil.png,0644,
pub/System/EditChapterPlugin/ueb.png,0644,
pub/System/EditChapterPlugin/uweb-g.gif,0644,
pub/System/EditChapterPlugin/wikiringlogo40x40.png,0644,
templates/edit.chapter.tmpl,0644,
templates/editjavascript.chapter.tmpl,0644,
templates/edittoolbar.chapter.tmpl,0644,
--
OliverSchaub - 12 Apr 2012
The manifiest file is not changed, as it represents the files that are shipped with the extension, not their installed location. However the install should have gone into the correctly mapped directories. I've renamed my System directory in data and pub to
Mysys
, and tested with
AntiWikiSpamPlugin, and also
EditChapterPlugin, and it seemed to work fine. The install should have said something like:
...
Installed: pub/System/EditChapterPlugin/ecpstyles.css as /var/www/data/Foswiki-1.1.5/pub/Mysys/EditChapterPlugin/ecpstyles.css
...
Checked in: data/System/AntiWikiSpamPlugin.txt as Mysys.AntiWikiSpamPlugin
...
showing the mapped target location of each installed file, as well as the Web.Topic name for files that are installed using the foswiki APIs. The mapping happens while the installer is copying or "checking in" the files. I've installed, and re-installed, and the correct mappings happens for the pre-req dependencies and the extensions itself.
Are you using anything unusually such as the
VirtualHostingContrib? It does some overrides of the config that the configure utility isn't aware of.
Also verified after an update of an extension, that the backup is for the correct mapped files:
-rw-r--r-- .../..... 6732 2012-04-15 14:44 ./data/Mysys/AntiWikiSpamPlugin.txt
--
GeorgeClark - 15 Apr 2012
OK. So the Error might have happend somewhere/somehow else. I'll check this and come back here to report.
--
OliverSchaub - 19 Apr 2012
Note that in 1.1.4 and 1.1.5, the details of the installation script are logged into the
working/logs/configure
directory. So you should be able to go back and see what happened in the previous installation.
--
GeorgeClark - 19 Apr 2012
We couldn't reproduce this anymore. I will open a new Task if the bug returns.
--
OliverSchaub - 20 Sep 2013