This question about Configuration: More info required

I ran into a bug in a new installation of version 2.0.2. In the module Foswiki::Engine, line 115, there is the syntax new Foswiki::Response();

instead of Foswiki::Response->new();

It causes a compilation error. Took a good bit of debug to figure out it was a problem in the actual software, but after I corrected the line, it ran fine.

-- KenLyons - 05 Oct 2015

What version of Perl are you using? Either syntax should be valid. new Foswiki::Response() is somewhat archaic, and is now discouraged in the perlobj reference. We test new releases on the very latest perl (in this case 5.23.3) as well as the oldest supported by Foswiki - 5.8.8, and have not observed this error.

-- GeorgeClark - 05 Oct 2015
 

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 2.0.2
Status More info required
Related Topics
Topic revision: r3 - 05 Oct 2015, GeorgeClark - This page was cached on 11 Dec 2018 - 07:51.

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