Item10165: Parenting Issue
Priority: Low
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
In Foswiki 1.1.2, when I click on WebTopicCreator from any topic, say AbCd, then the topic name gets passed as a parameter in the URL, i.e. the URL reads:
http://Sitename/WebName/WebTopicCreator?parent=AbCd. However, AbCd does not show up in the Topic Parent text box. As a result, the new topic does not get created under AbCd.
--
GuruprasadIyer - 16 Dec 2010
I believe that the "create new topic" topic is now called
WebCreateNewTopic - Not
WebTopicCreator
See on trunk...
http://trunk.foswiki.org/Main/WebCreateNewTopic?topicparent=WebHome
Check if you have edited the underlying link which you are clicking..
--
PadraigLennon - 16 Dec 2010
Thanks, Padraig!
However, the issue continues to be with WebCreateNewTopic as well.
--
GuruprasadIyer - 16 Dec 2010
What skin are you using? When you say you are clicking to create a new topic what exactly are you clicking? Can you provide more details please?
--
PadraigLennon - 16 Dec 2010
I am using the default Pattern skin.
Here's how to reproduce this "problem" -
- Navigate to some topic, say AbCd
- Click on WebCreateNewTopic (assuming it is present in your left bar)
- The URL will now be - http://Sitename/WebName/WebTopicCreator?parent=AbCd. However, the Topic Parent text box is not auto-filled with AbCd; earlier it used to be auto-filled.
--
GuruprasadIyer - 16 Dec 2010
The issue is that the
parent should be
topicparent. You can update this in the topic
Main.WebLeftBarExample
The line you should update is:
* [[%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebCreateNewTopic?topicparent=%BASETOPIC%][ %ICON{"newtopic"}% %MAKETEXT{"Create New Topic"}%]]
--
PadraigLennon - 16 Dec 2010
So is this a bug in Pattern Skin distributed topics?
--
ArthurClemens - 16 Dec 2010
No. This is because the web was created in TWiki, where the parameter was parent, not it has changed to topicparent. There is no bug here.
--
GuruprasadIyer - 17 Dec 2010