Tags:
create new tag
, view all tags

Bug: Inherited variables are not evaluated correctly

TWiki does not assign variables as expected when the value of a newly created variable relates to a previously set variable.

Test case

   * Set A = value
   * Set B = %A%
   * Set C = %B%

results in

%A% having this value: value

%B% having this value: value

%C% having this value: value

It is expected that all variables have a value of value, however %C% has not (or hadn't by the time this topic was composed).

This may or may not be a bug in this TWiki version.

$ TWiki version of the installation where bug was encountered: 24 Oct 2004 $Rev: 1780 $

$ TWiki plugin API version of the installation where bug was encountered: 1.025

$ TWiki version on this installation: TWiki-5.1.0, Sat, 20 Aug 2011, build 22128

$ TWiki plugin API version on this installation: 1.4

ALERT! The TWiki plugins listed below may be incorrect for the installation this is reported for. But as the bug is currently also visible on this installation, this is probably not important.

Environment

TWiki version: TWikiBetaRelease2004x10x24
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian GNU/Linux
Web server: Apache 2.0.52
Perl version: 5.8.4
Client OS: Debian GNU/Linux
Web Browser: Firefox 1.0

-- AlsterWassermann - 07 Jan 2005

Follow up

FYI this problem is not present on the DEVELOP branch. See http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/VariablesEvaluationBug.

-- CrawfordCurrie - 07 Jan 2005

Fix record

Topic revision: r3 - 2005-06-21 - SvenDowideit
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.