• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

There's still some legacy code in Func.pm that survived.

Wiki::Func::getSessionValue and Wiki::Func::setSessionValue don't use the Plugins object.

Index: Func.pm
===================================================================
--- Func.pm     (revision 4475)
+++ Func.pm     (working copy)
@@ -75,7 +75,7 @@
 sub getSessionValue {
 #   my( $theKey ) = @_;

-    return TWiki::Plugins::getSessionValueHandler( @_ );
+    return $TWiki::Plugins::SESSION->{plugins}->getSessionValueHandler( @_ );
 }


@@ -94,7 +94,7 @@

 sub setSessionValue {
 #   my( $theKey, $theValue ) = @_;
-    TWiki::Plugins::setSessionValueHandler( @_ );
+    $TWiki::Plugins::SESSION->{plugins}->setSessionValueHandler( @_ );
 }


Fixed in 4476.

ItemTemplate
Summary setting/getting session values is broken
ReportedBy TWiki:Main.MichaelDaum
Priority Urgent
CurrentState Closed
WaitingFor

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2005-06-30 - TWikiGuest
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback