You are here: Foswiki>Tasks Web>Item10696 (03 May 2011, MichaelDaum)Edit Attach

Item10696: SESSION_VARIABLE{somedef} is reported as broken on IRC

pencil
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: MichaelDaum
<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

ItemTemplate edit

Summary SESSION_VARIABLE{somedef} is reported as broken on IRC
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 03 May 2011, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy