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-6.0.0, Mon, 14 Oct 2013, build 26523

$ TWiki plugin API version on this installation: 6.00

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-06-21 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.