Item8935: trunk.foswiki.org can't WYSIYWG
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Web Site
Component:
Branches:
After a clear down and restart, trunk.foswiki.org can't WYSIWYG edit. The reason is that one of the default plugins -
JQueryPlugin - has a dependency on
ZonePlugin, which is not installed, and blocks the enabling of the
JQueryPlugin.
It's a required dependency, apparently because it's required in 1.0.9, but it isn't required in 1.1.0.
--
CrawfordCurrie - 20 Apr 2010
How can I say "only required on foswiki < 1.1" in DEPENDENCIES?
--
MichaelDaum - 20 Apr 2010
You can't (yet; maybe someone will be inspired to code it). But you
can say "Optional, required for Foswiki 1.0.9"
--
CrawfordCurrie - 20 Apr 2010
If
MichaelDaum maintains responsibility for uploading new releases of
JQueryPlugin, perhaps as an interim solution, we can change the dependency to optional in SVN but remember to make it required for 1.0.9 release compatibility.
The other option would be to branch
JQueryPlugin to Release01x00, but we should probably avoid that until we release Foswiki 1.1?
--
PaulHarvey - 21 Apr 2010
Damn, I was being stupid; of course you can define an optional dependency, using ONLYIF. See the
BuildContrib documentation. Something like
ONLYIF ($Foswiki::VERSION !~ /1\.1\.\d/)
Foswiki::Plugins::ZonePlugin,....
--
CrawfordCurrie - 21 Apr 2010
Working with
GeorgeClark, we already tried that on
irc - doesn't work on 1.0.9
--
PaulHarvey - 21 Apr 2010
BuildContrib is full of wonders.
--
MichaelDaum - 21 Apr 2010
The ONLYIF issue was identified and fixed in
Item8791 and is waiting for release in 1.0.10
--
GeorgeClark - 11 May 2010
I believe this is now closed.
--
CrawfordCurrie - 21 Jun 2010