If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org
to view this page for some minimal testing.
for docu changes for 1.2 and 2.0.
Item8072: Error in Bridge between TWiki::Time and Foswiki::Time
breaks DateTimePlugin (and possibly all TWiki Plugins using Time):
System.InstalledPlugins lists DateTimePlugin as disabled, section Plugin Diagnostics shows the following message:
TWiki::Plugins::DateTimePlugin could not be loaded. Errors were:
Global symbol "@MON2NUM" requires explicit package name at lib/TWiki/Time.pm line 14.
Compilation failed in require at lib/TWiki/Plugins/DateTimePlugin.pm line 22.
BEGIN failed--compilation aborted at lib/TWiki/Plugins/DateTimePlugin.pm line 22.
Compilation failed in require at (eval 58) line 2.
BEGIN failed--compilation aborted at (eval 58) line 2.
To reproduce, make sure the TWikiCompatibilityPlugin is installed and enabled. Install the DateTimePlugin from the TWiki Extensions Repository and enable it with configure. If you cannot load System.DateTimePlugin, you may have to fix Tasks.Item8073
. If you can load System.DateTimePlugin, go to InstalledPlugins and check if DateTimePlugin is disabled and the section Plugin Diagnostics shows the above error message.
, line 14, replace
@MON2NUM = @Foswiki::Time::MON2NUM;
%MON2NUM = @Foswiki::Time::MON2NUM;
- 11 Mar 2009
Thanks, Kerstin. Fixed.
- 16 Mar 2009