Item714: Add a Legacy engine, so Contribs that add scripts to bin dir can work
Priority: Normal
Current State: Closed
Released In:
Target Release: patch
Applies To: Engine
Component:
Branches:
I was trying to make
SearchEngineKinoSearchAddOn to work with trunk, but the
kinosearch
script always lead to "Internal Server Error", cause it prints nothing.
The problem is that
Foswiki::Engine::CGI
or
Foswiki::Engine::CLI
, loaded automatically since
kinosearch
doesn't set
$Foswiki::cfg{Engine}
, are not finalized, so there is no output.
I'm working on a
Foswki::Engine::Legacy
to be loaded automatically and make legacy scripts work.
--
GilmarSantosJr - 09 Jan 2009
I'm reopening this cause Legacy engine made
configure
script display an error at bottom of the page:
Software error:
Can't call method "cookies" on an undefined value at /home/junior/projeto_final/svn/src/foswiki/core/lib/Foswiki/Engine.pm line 343.
END failed--call queue aborted.
The problem is that it loads
Foswiki.pm
, what leads to initialization of
Foswiki::Engine::Legacy
, but doesn't call
Foswiki->new
, so there is no
Foswiki::Response
object.
--
GilmarSantosJr - 11 Jan 2009