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-4.2.2, Wed, 06 Aug 2008, build 17396

$ TWiki plugin API version on this installation: 1.2

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 - 21 Jun 2005 - 16:45:59 - SvenDowideit
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback