Item10544: Upgrading Foswiki 1.0 to 1.1 breaks Kino
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
From
BobCorless in
Item9623:
In my parallel set up to test 1.1.0, I've copied across my websites from the Data and Public directories, so in theory all my Topics and attachments are the same as in 1.0.9
I can run ./tools/kinoindex in a terminal against 1.0.9 and it runs fine and completes with no errors.
However, if I run kinoindex in 1.1.0 it throws out exceptions and fails to run. Interestingly though, kinoupdate works fine.
This is the exceptions I get in 1.1.0
KinoSearch index files init
- to suppress all normal output: kinoindex -q
Uncaught exception from user code:
OopsException(attention/no_form_def web=>Main topic=>WebHome params=>[MyTopic,TestForm]) at /usr/lib/perl5/site_perl/5.8.8/Error.pm line 184
Error::throw('Foswiki::OopsException', 'attention', 'def', 'no_form_def', 'web', 'Main', 'topic', 'WebHome', 'params', ...) called at /home2/mywebsitec/public_html/foswiki2/lib/Foswiki/Form.pm line 97
Foswiki::Form::new('Foswiki::Form', 'Foswiki=HASH(0x1dc8480)', 'MyTopic', 'TestForm') called at /home2/mywebsitec/public_html/foswiki2/lib/Foswiki/Contrib/KinoSearchContrib/Index.pm line 388
Foswiki::Contrib::KinoSearchContrib::Index::formsFieldNames('Foswiki::Contrib::KinoSearchContrib::Index=HASH(0x1db2420)') called at /home2/mywebsitec/public_html/foswiki2/lib/Foswiki/Contrib/KinoSearchContrib/Index.pm line 56
Foswiki::Contrib::KinoSearchContrib::Index::createIndex('Foswiki::Contrib::KinoSearchContrib::Index=HASH(0x1db2420)', 1) called at ./kinoindex line 38
Have not confirmed this myself.
--
AndrewJones - 25 Mar 2011
This turned out to be the same problem as
Item10746, which is now fixed and released.
--
AndrewJones - 16 May 2011