NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item8896: SpreadSheetPlugin ignores SKIPINCLUDE option

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension SpreadSheetPlugin  
%CALC{}% is not expanded in INCLUDE context by default. There is a preference setting to deal with this:

Preference Meaning Default
SPREADSHEETPLUGIN_SKIPINCLUDE Do not handle variable in included topic while including topic 1

%CALC{}% should be expanded in INCLUDE if this setting was adjusted to 0, but the code:
    # Flag to skip calc if in include
    $skipInclude =
      Foswiki::Func::getPreferencesFlag("SPREADSHEETPLUGIN_SKIPINCLUDE") || 1;

ignores the value if it's 0, what leads to %CALC{}% to be always ignored in INCLUDE context.

-- GilmarSantosJr - 12 Apr 2010

 

ItemTemplate edit

Summary SpreadSheetPlugin ignores SKIPINCLUDE option
ReportedBy GilmarSantosJr
Codebase 1.0.9, trunk
SVN Range
AppliesTo Extension
Component SpreadSheetPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:7175 Foswikirev:7176
TargetRelease patch
ReleasedIn 1.0.10, 1.1.0
Topic revision: r5 - 08 Sep 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads