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

The API for TWiki::Render::renderFormField is incorrect.

The following patch will fix the problem:

*** /e/www/twiki-dakar-4.0.2/lib/TWiki/Render.pm~   Tue Jun 20 08:09:48 2006
--- /e/www/twiki-dakar-4.0.2/lib/TWiki/Render.pm   Sat Jul  1 22:06:05 2006
***************
*** 211,217 ****
  =cut
  
  sub renderFormField {
!     my( $this, $web, $topic, $meta, $attrs ) = @_;
      my $text = '';
      my $name = $attrs->{name};
      $text = renderFormFieldArg( $meta, $name ) if( $name );
--- 211,217 ----
  =cut
  
  sub renderFormField {
!     my( $this, $meta, $attrs ) = @_;
      my $text = '';
      my $name = $attrs->{name};
      $text = renderFormFieldArg( $meta, $name ) if( $name );


Thanks for reporting!

-- SP

Closed in 4.0.5 KJL

ItemTemplate
Summary %META{"formfield" name="formfieldname"}% broken (returns nothing)
ReportedBy TWiki:Main.ThomasWeigert
Codebase 4.0.2, ~twiki4
SVN Range Thu, 29 Jun 2006 build 10750
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 10777
TargetRelease patch
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-11-14 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback