Item14693: depend on new TopicTitlePlugin

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: ClassificationPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
-- MichaelDaum - 28 May 2018

Greetings; I updated the DBCache Plugin, and now I have to disable it for my Foswiki to work. When DBCache is enabled, I get this error: Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Undefined subroutine &Foswiki::Plugins::DBCachePlugin::getTopicTitle called

The Apache logs have the same "Undefined subroutine" error.

I'm running 2.1.6 in a subdirectory, on CentOS (Cloudlinux 7.5), Apache 2, Perl 5.24 fcgid. The configure extensions shows TopicTitlePlugin (TTP) as installed. When I tried to install TTP (along with several other plugins) from the configure > extensions GUI, the install process did not complete. It would end and say "installation complete" but I could reopen the update window, not select any plugins, click update, and it would re-install all of the other plugins except TTP. I did an ssh into the server and manually installed TTP (not as root user). After that, I could reopen the configure > extensions update window, not select any plugins, click update, and it didn't do anything.

-PaulHarrison

-- PaulHarrison - 02 Jun 2018

Known issue. See also Support.Question1942

Quickfix:

Replace

Foswiki::Plugins::DBCachePlugin::getTopicTitle

with

Foswiki::Func::getTopicTitle

... as long as not all plugins have been released yet.

Status of plugins

Not all of above plugins are currently broken. Most of them had a local implementation of a getTopicTitle(). These will be replaced with the new api.

-- MichaelDaum - 02 Jun 2018

Thanks! I edited lib/Foswiki/Plugins/NatSkinPlugin/HtmlTitle.pm and now all is well. Great software, great support!

-- PaulHarrison - 24 Jun 2018
 
Topic revision: r15 - 02 May 2019, MichaelDaum
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