SID-00104: SpreadSheetPlugin SKIPINCLUDE doesn't work with SECTIONS
| Status: |
Answered |
TWiki version: |
4.0.5 |
Perl version: |
5.6.0 |
| Category: |
SpreadSheetPlugin |
Server OS: |
RH 7.2 |
Last update: |
16 years ago |
Hi,
The default behaviour of the SpreadSheetPlugin is not to evaluate %CALC operations in the included topic during an %INCLUDE operation. There is a preference setting to control this behaviour, called SKIPINCLUDE.
If I set this to 0, %CALC results in the included topic are evaluated
only if you include the entire topic. If I use either %STARTINCLUDE or %STARTSECTION, the %CALC results are
not included.
This is with the latest version of the
SpreadSheetPlugin, 13th Oct 2007.
If you can suggest a way around this, it would really help us.
Thanks in advance
Steve.
--
SteveJonesST - 13 Feb 2009
Discussion and Answer
This could be a bug in the TWiki core. Could you look into this? The plugin determines in
sub commonTagsHandler if it is called from within an INCLUDE by looking at the 4th parameter to
commonTagsHandler. Study
lib/TWiki.pm for calls to
$this->{plugins}->commonTagsHandler.
--
PeterThoeny - 13 Feb 2009
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-04-17
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.