You are here: Foswiki>Tasks Web>Item14136 (23 Jan 2017, MichaelDaum)Edit Attach

Item14136: Can't find section recentchanges

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: ClassificationPlugin
Branches:
Reported By: IvanDebono
Waiting For:
Last Change By: MichaelDaum
With the NatSkinPlugin and ClassificationPlugin installed, each topic I create have the following error text displayed on the right:

Warning: Can't find named section recentchanges in topic MyTopic

Is there a way to solve this problem from within the topic generation code?

-- IvanDebono - 11 Aug 2016

Any screenshot?

-- MichaelDaum - 26 Sep 2016

-- IvanDebono - 01 Oct 2016

Screenshot uploaded

-- IvanDebono - 01 Oct 2016

Here is a hot fix:

diff --git a/data/_ClassificationTemplate/WebLinks.txt b/data/_ClassificationTemplate/WebLinks.txt
index dc1aa1a..babf4e0 100644
--- a/data/_ClassificationTemplate/WebLinks.txt
+++ b/data/_ClassificationTemplate/WebLinks.txt
@@ -5,7 +5,7 @@
 %STARTINCLUDE%%IF{
   "context SolrPluginEnabled" 
   then="$percntINCLUDE{\"%SYSTEMWEB%.SolrSideBar\"}$percnt"
-  else="$percntINCLUDE{\"%WEB%.%TOPIC%\" section=\"recentchanges\"}$percnt"
+  else="$percntINCLUDE{\"%WEB%.WebLinks\" section=\"recentchanges\"}$percnt"
 }%%STOPINCLUDE%
 

You'll need to apply it to any WebLinks topic in a web that you created based on the _ClassificationTemplate.

-- MichaelDaum - 01 Oct 2016

Fixed in latest release.

-- MichaelDaum - 23 Jan 2017
 

ItemTemplate edit

Summary Can't find section recentchanges
ReportedBy IvanDebono
Codebase
SVN Range
AppliesTo Extension
Component ClassificationPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
ss.pngpng ss.png manage 46 K 01 Oct 2016 - 05:35 IvanDebono  
Topic revision: r6 - 23 Jan 2017, 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