There is a kind of URL and link path that will result in the user erroneously creating WebTopicViewTemplate rather than their desired page. What happens is this:
- The user types in or follows a direct URL link to a nonexistent topic (e.g.
- The nonexistent topic name is not a wikiword
- The nonexistent topic name has numbers in it
- The user receives the page reading "Note: This topic does not exist" and clicks on the
'Create PAGE001' link. Note that this link points to
.../twiki/bin/view/Main/WebTopicViewTemplate?create=on&newtopic=PAGE001 rather than
- On the following page, titled "Create New Topic in Main Web", the user clicks on the
Create button (action button) rather than the
Create this topic form submission button. This results in the page WebTopicViewTemplate being created rather than PAGE001.
- 24 Apr 2007
This appears to be fixed (or worked around? The requirements for the link make me think something isn't setting %TOPIC% right?) by changing TWiki.WebTopicViewTemplate so that the create link near the bottom reads
(changing %TOPIC% to %BASETOPIC% after %BASEWEB%)
- 24 Apr 2007
It very much depends on the context you are placing the link in (whether it's in a topic, a form, and included topic, a topic included from an included topic). Could you provide a testcase, please? You can create topics in the LitterTray
web on this site to demonstrate the problem. Thx
Here's one: http://develop.twiki.org/~twiki4/cgi-bin/view/LitterTray/PAGE001
Follow that link and perform the steps above to reproduce the problem (I verified this). Thanks!
- 26 Apr 2007
This bug is confirmed and easy to reproduce.
And it is present both in Patch04x01 branch and MAIN branch
- 27 Apr 2007
This is crap, and may well be indicative of a deeper problem, so raising to urgent.
It's not a deeper problem, it's a problem in the WebTopicViewTemplate
. The template needs to be fixed. The workaround is to select the "Create this topic" button instead of the "Create" button in the bottom or top bar (naff, I know).
Create URL in TWiki.WebTopicViewTemplate updated to use BASETOPIC as suggested by Dylan - thanks.
- 20 Aug 2007
Cleaned "WaitingFor" field.
- 10 Aug 2008