You are here: Foswiki>Tasks Web>Item714 (23 Feb 2009, KennethLavrsen)Edit Attach

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
Reported By: GilmarSantosJr
Waiting For:
Last Change By: KennethLavrsen
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/ line 343. END failed--call queue aborted.

The problem is that it loads, 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

ItemTemplate edit

Summary Add a Legacy engine, so Contribs that add scripts to bin dir can work
ReportedBy GilmarSantosJr
Codebase 1.0.0, 1.0.0 beta3, 1.0.0 beta2, 1.0.0 beta1, trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:690f750ea424 distro:350642523d75 distro:dbbe30e48bff
TargetRelease patch
Topic revision: r7 - 23 Feb 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy