• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6024: Can't handle comment templates in subwebs

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension CommentPlugin Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

It seems that the CommentPlugin can't handle templates that are in subwebs. I installed the BlogAddOn into a subweb (Sandbox/SubWeb). The BlogPostViewTemplate topic has the following comment plugin invocation:
%COMMENT{rows="6" cols="100" noform="on" type="blogpost" templatetopic="BlogPostCommentTemplate" target="%TOPIC%" button="%MAKETEXT{"Add comment"}%" }%

When TWiki renders a blog post, it emits the following error in the warning log:

 (TWiki::Plugins::CommentPlugin::Comment) Could not read template file 'Sandbox/SubWeb.BlogPostCommentTemplate'

I have verified that that topic does exist. If I install the BlogAddOn into a top level web (Sandbox), it works fine.

-- TWiki:Main/DiabJerius - 26 Sep 2008

ItemTemplate
Summary Can't handle comment templates in subwebs
ReportedBy TWiki:Main.DiabJerius
Codebase 4.2.3
SVN Range TWiki-5.0.0, Tue, 23 Sep 2008, build 17539
AppliesTo Extension
Component CommentPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2008-09-26 - DiabJerius
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback