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