Item10165: Parenting Issue

pencil
Priority: Low
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: GuruprasadIyer
Waiting For:
Last Change By: GuruprasadIyer
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
 

ItemTemplate edit

Summary Parenting Issue
ReportedBy GuruprasadIyer
Codebase 1.1.2
SVN Range
AppliesTo Engine
Component
Priority Low
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r8 - 17 Dec 2010, GuruprasadIyer
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy