Tags:
create new tag
view all tags

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 | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-02-13 - SamHasler
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.