You are here: Foswiki>Tasks Web>Item13289 (04 Mar 2015, MichaelDaum)Edit Attach

Item13289: Interaction fails between DBCachePlugin and EditChapterPlugin

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DBCachePlugin, EditChapterPlugin
Branches: master
Reported By: GuilainCabannes
Waiting For:
Last Change By: MichaelDaum

-- GuilainCabannes - 03 Mar 2015

This due to the DBDUMP adding a heading to the page. This patch fixes it:

diff --git a/lib/Foswiki/Plugins/DBCachePlugin/Core.pm b/lib/Foswiki/Plugins/DBCachePlugin/Core.pm
index 322d357..b67a8bb 100644
--- a/lib/Foswiki/Plugins/DBCachePlugin/Core.pm
+++ b/lib/Foswiki/Plugins/DBCachePlugin/Core.pm
@@ -976,7 +976,7 @@ sub dbDump {
     return inlineError("DBCachePlugin: $web.$topic not found");
   }
   my $result = "\n<noautolink>\n";
-  $result .= "---++ [[$web.$topic]]\n";
+  $result .= "<h2 > [[$web.$topic]]</h2>\n";
   $result .= _dbDumpMap($topicObj);
   return $result . "\n</noautolink>\n";
 }

-- MichaelDaum - 04 Mar 2015
 
Topic revision: r2 - 04 Mar 2015, 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