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

How to reproduce:

  • goto the Sandbox web
  • create a subweb named MySandbox
  • (try to) create a topic in the Sandbox web with the name MySpace
  • you can't, you will be offered to edit Sandbox/MySandbox/WebHome instead

Here's the patch:

--- TWiki.pm    (revision 11717)
+++ TWiki.pm    (working copy)
@@ -1250,14 +1250,17 @@

     # Check to see if we just dissected a web path missing its WebHome
-    if($topic ne "") {
-      if(!$this->{store}->topicExists($web,$topic)) {
-       if($this->{store}->webExists("$web/$topic")) {
-         $web .= '/'.$topic;
-         $topic = "";
-       }
-      }
-    }

This extra piece of logic might only be value in view mode, but not in edit, if at all. I'd opt to remove it, it is not worth it. Any objections?


4.1.0 released


Summary can't create a topic of the same name as an already existing subweb
ReportedBy TWiki:Main.MichaelDaum

SVN Range TWiki-4.1, Sun, 08 Oct 2006, build 11688
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 11771
TargetRelease minor
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2007-01-16 - 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