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?
MD
4.1.0 released
KJL