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

If a topic is created with parameter formtemplate set, the form values must be copied into the newly created topic.


Problem is that in Form::renderForEdit

            if( $name ) {
                my $field = $meta->get( 'FIELD', $name );
                $value = $field->{value};
            }
            if( $useDefaults && !defined( $value ) &&
                $fieldDef->{type} !~ /^checkbox/ ) {
$value is defined when in fact it is empty (null string). In Cairo, this was not the case.


Fixed SVN 6015

ItemTemplate
Summary Topic created based on Form does not use form values
ReportedBy TWiki:Main.ThomasWeigert
Codebase

AppliesTo Engine
Priority Normal
CurrentState Closed
WaitingFor

Checkins 6015
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-08-07 - ThomasWeigert
 
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