Item8896: SpreadSheetPlugin ignores SKIPINCLUDE option

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.10, 1.1.0
Target Release: patch
Applies To: Extension
Component: SpreadSheetPlugin
Branches:
Reported By: GilmarSantosJr
Waiting For:
Last Change By: KennethLavrsen
%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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy