• 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.

Item6057: Comment forrm that updates TWikiForm data fails with version control system error

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

I have a form attached to my page.

I have a CommentPlugin template that puts up a simple menu to let the user change a data field in the attached TWiki form without the need to cclick Edit.

When the Comment template is defined in UserCommentsTemplate, it works as expected. However, when it is defined in another topic and I use the templatetopic= parameter to access it, it fails.

%COMMENT{type="statusupdate" target="%INCLUDINGTOPIC%" templatetopic="VickiCommentTemplate"}%

The failure mode is:

  • CommentPlugin sees the template and presents the menu onm the screen
  • menu item can be selected * On submit, there is an error:
During save of Sandbox.VickiBrownSandbox an error was found by the version control system. Please notify your TWiki administrator.

%RED%No such template def TMPL:DEF{OUTPUT:statusupdate}%ENDCOLOR% at /var/www/twiki-local/lib/TWiki/Plugins/CommentPlugin/Comment.pm line 261.
 at /var/www/twiki-local/lib/TWiki/Plugins/CommentPlugin/Comment.pm line 261
...

-- TWiki:Main/VickiBrown - 10 Oct 2008

ItemTemplate
Summary Comment forrm that updates TWikiForm data fails with version control system error
ReportedBy TWiki:Main.VickiBrown
Codebase 4.2.0
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component CommentPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2008-10-10 - VickiBrown
 
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