Foswiki on GitHub is open for business! Next release meeting: Monday Nov. 17, 1300Z

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 distro:26c2958bebc0 distro:be2287e916fa
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 License