Item1897: TinyMCEPlugin_installer: Version checking of dependency of WysiwygPlugin is confusing
Priority: Urgent
Current State: Closed
Released In: 1.0.7
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
I installed the latest version of
WysiwygPlugin (revision 4429) and then tried to install
TinyMCEPlugin per configure. The archive was downloaded and extracted, but the installation ended with the message of the unsatisfied dependency of
WysiwygPlugin. I tried it in the shell:
### TinyMCEPlugin Installer ###
This installer must be run from the root directory of your Foswiki
installation.
* The script will not do anything without asking you for
confirmation first (unless you used -a).
* You can abort the script at any point and re-run it later
* If you answer 'no' to any questions you can always re-run
the script again later
##########################################################
Checking dependency on Foswiki::Contrib::BehaviourContrib....
Foswiki::Contrib::BehaviourContrib v36.082101118058 loaded
##########################################################
Checking dependency on Foswiki::Plugins::WysiwygPlugin....
*** TinyMCEPlugin depends on perl package Foswiki::Plugins::WysiwygPlugin >=4315
which is described as "Translator module"
But when I tried to find it I got this error:
Foswiki::Plugins::WysiwygPlugin version 4315 required--this is only version 36.082101118058
In the next steps I negated the answers to the re-install of the already installed plugins
WysiwygPlugin and
TinyMCEPlugin.
Foswiki-1.0.6, Sun, 21 Jun 2009, build 4272, RHEL 5,
TinyMCEPlugin (03 Jul 2009, $Rev: 4429 (2009-07-03) $),
WysiwygPlugin (28 Jun 2009, $Rev: 4429 (2009-07-03) $).
--
WolfgangRaus - 07 Aug 2009
Elevating to urgent and making it core as it has nothing to do with
TinyMCE.
Yes, I know, it's not blocking because it somehow still works OK afterwards, but it's a really bad user experience, and it can indeed mess things up (we had the case today on IRC).
--
OlivierRaginel - 08 Sep 2009
What concerns me is why Wolfgang see version 36.082101118058?
--
KennethLavrsen - 09 Sep 2009
I do not see anyone working on this.
I will not let this block 1.0.7 though. But I keep it urgent for now.
--
KennethLavrsen - 16 Sep 2009
This bug goes a way back. It was reported against 1.0.4 in April as
Item8100, which I have set to "no action required".
I discovered where the "36.082101118058" comes from:
extender.pl
calls
$module->VERSION(0)
and with some versions of perl this converts a string starting with "$Rev:" into 36.082101118058, and all of the standard plugins have version numbers that start with "$Rev:".
This was fixed in
distro:793653b88d56, see
Item1509.
--
MichaelTempest - 19 Sep 2009