Tags:
create new tag
, view all tags

Question

Hi Everybody,

Is it possible to rename a topic, using the "rename" script, without orphaning the children of the re-named topic? As far as I can tell, the metadata pointing to a parent topic doesn't get updated in child topics when a parent topic is renamed.

Maybe it's possible to do this without using the rename script, although the rename script is certainly convenient.

Thank you, Tom Davey

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD
Web server: Apache
Perl version: 5.8.6
Client OS: Windows XP SP2
Web Browser: IE 7
Categories: Missing functionality

-- TomDavey - 04 Mar 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Hmm, when a parent topic is renamed, all children's parent should be fixed (unless topics are unchecked during rename). This is a bug if not.

Although not documented, you can move topics using the shell. Simply move topic data (data/Myweb/MyTopic.txt, data/Myweb/MyTopic.txt,v) and attachment data (pub/Myweb/MyTopic/myfile.txt, pub/Myweb/MyTopic/myfile.txt,v if any.) This will not fix any backlinks though. Is useful if you move a set of topics to a different web, or even a different TWiki installation.

-- PeterThoeny - 05 Mar 2007

 
Change status to:
Topic revision: r2 - 2007-03-05 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.