Item10696: SESSION_VARIABLE{somedef} is reported as broken on IRC
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
<MichaelDaum> [18:23:52] now since http://trac.foswiki.org/changeset/11590 my %IFs are broken
<MichaelDaum> [18:29:02] SESSION_VARIABLE is broken
<MichaelDaum> [18:32:33] %TMPL:DEF{"somedef"}% ....%SESSION_VARIABLE{"somedef"}% ... %TMPL:END% expands to the content of somedef ... but should be the value of the somedef within the session obj .
<MichaelDaum> [18:32:48] which is != the template macro
<MichaelDaum> [18:32:58] this is new
somewhat scary - it means there is no unit test to cover this usecase, and that
http://trac.foswiki.org/changeset/11590 can affect it - that commit was to stop
versions[1]
from loading every revision of the topic first, and then discarding all except the one the user asked for.
--
SvenDowideit - 03 May 2011
Never mind: it turned out some wild wiki app stored TML into the SESSION_VARIABLE thus busting the rest of the app later on. All my fault.
--
MichaelDaum - 03 May 2011