Item10971: can't change TABLEATTRIBUTES when used in persistent perl installations
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Plugin attributes are red fom prefs only once and are not reset in initPlugin(). So when they change the plugin still uses the old settings internally.
--
MichaelDaum - 15 Jul 2011
I thought this had been fixed before.
--
ArthurClemens - 15 Jul 2011
Michael, Could you test the following patch and see if it helps? The settings didn't use the initialized flag but instead tested if the parameters hash exists. I'll commit this to trunk too but I don't have a tests fastcgi env.
diff --git a/TablePlugin/lib/Foswiki/Plugins/TablePlugin.pm b/TablePlugin/lib/Foswiki/Plugins/TablePlugin.pm
index 6cfeebe..a26de99 100644
--- a/TablePlugin/lib/Foswiki/Plugins/TablePlugin.pm
+++ b/TablePlugin/lib/Foswiki/Plugins/TablePlugin.pm
@@ -43,6 +43,7 @@ sub initPlugin {
$initialised = 0;
$writtenToHead = 0;
+ %pluginAttributes = ();
debug( 'TablePlugin', "inited" );
--
GeorgeClark - 21 Sep 2011
Thats the same fix I use. Checking it in. Related to
Item10456.
--
MichaelDaum - 21 Sep 2011