NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10971: can't change TABLEATTRIBUTES when used in persistent perl installations
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
TablePlugin |
|
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