r5 - 13 Feb 2005 - 16:10:10 - SamHaslerYou are here: TWiki >  Codev Web > SupportFormBroken
Tags:
, create new tag

Bug: TWiki.org Support Form Broken

The Support form is currently broken on TWiki.org.

Test case

  • Try to submit a new question
  • A blank page shows up in edit mode.

No changes have been done to the form, it looks like a newly introduced bug in the latest TWikiBetaRelease which is currently running on TWiki.org.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- PeterThoeny - 12 May 2004

Follow up

OK, I could restore the functionality. The form on Support.AskedQuestions was pointing to a non existing NewBugTemplate template topic. I fixed that to the correct Support.WebTopicEditTemplate topic.

With the previous TWiki versions it was falling back to the default Support.WebTopicEditTemplate in case the indicated template topic does not exist.

The latest Beta does not do that anymore, it just shows a blank topic.

This needs to be fixed.

-- PeterThoeny - 12 May 2004

Fix record

This is now fixed, aka restored. In SVN.

Modified: twiki/trunk/lib/TWiki/UI/Edit.pm
===================================================================
--- twiki/trunk/lib/TWiki/UI/Edit.pm    2004-09-06 06:50:37 UTC (rev 1746)
+++ twiki/trunk/lib/TWiki/UI/Edit.pm    2004-09-06 07:22:44 UTC (rev 1747)
@@ -132,7 +132,8 @@
       }
 
       ( $meta, $text ) = &TWiki::Store::readTopic( $templateWeb, $templateTopic );
-    } elsif( ! $text ) {
+    }
+    unless( $text ) {
       ( $meta, $text ) = &TWiki::Store::readTemplateTopic( "WebTopicEditTemplate" );
     }
     $extra = "(not exist)";

-- PeterThoeny - 06 Sep 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo