This question about Using an extension: Answered

Typo in Index.pm - KinoSearchContrib version 1.23

Since the v 1.23 version update of the KinoSearchContrib the kinoupdate is failing with the following error:

Global symbol "$changes" requires explicit package name at /srv/www/htdocs/icwiki/lib/Foswiki/Contrib/KinoSearchContrib/Index.pm line 228.
Compilation failed in require at ./kinoupdate line 27.
BEGIN failed--compilation aborted at ./kinoupdate line 27.

This is caused by a typo in Index.pm; in the 1.23 package it contain, at line 228, the following code:

next if ( ( !defined $topicName ) || (!$changes) || ( $skipTopics{"$web.$topicName"} ) || ( $skipTopics{$topicName} ) );

Instead it should be:

next if ( ( !defined $topicName ) || (!$change) || ( $skipTopics{"$web.$topicName"} ) || ( $skipTopics{$topicName} ) );

I've tried to modify the file as advised and the update process work like a charme.


Thanks. I have uploaded version 1.24 with this fix.

-- AndrewJones - 14 Apr 2010

QuestionForm edit

Subject Using an extension
Extension KinoSearchContrib
Version Foswiki 1.0.9
Status Answered
Topic revision: r2 - 14 Apr 2010, AndrewJones
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