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


* Set WEBFORMS = SomeTWikiForm, AnotherWeb.AnotherTWikiForm, 
in WebPreferences AnotherTWikiForm is not clickable in "changeform" but SomeTWikiForm because the code checks existence of the topic AnotherWeb.AnotherTWikiForm in the current web instead of checking for AnotherTWikiForm in AnotherWeb.

Here is the patch

-- TWiki/UI/ChangeForm.pm      (revision 11463)
+++ TWiki/UI/ChangeForm.pm      (working copy)
@@ -80,7 +80,9 @@
         $props->{checked} = 'checked' if $form eq $formName;
         $formList .= CGI::input( $props );
-        my $formLabelContent = ' ' . ( $store->topicExists( $web, $form ) ? '[['.$form.']]' : $form );
+       my ($formWeb, $formTopic) = $session->normalizeWebTopicName($web, $form);
+        my $formLabelContent = ' ' . ( $store->topicExists( $formWeb, $formTopic ) ?
+         '[['.$formWeb.'.'.$formTopic.']['.$form.']]' : $form );
         $formList .= CGI::label( { for => $formElemId}, $formLabelContent );
     $page =~ s/%FORMLIST%/$formList/go;

Thanks for fixing an annoying little bug which I have also encountered and thought was a lack of feature. Adding to hotfix-4.0.4-4


Summary make TWikiForms defined in another web clickable in "changeform"
ReportedBy TWiki:Main.MichaelDaum
Codebase ~twiki4
SVN Range TWiki-4.1, Mon, 11 Sep 2006, build 11460
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 11467
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-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback