Submitted by : at: 2004-02-28T05:15:32+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

If made a folder called "wiki" and started putting wiki pages in it. Then I renamed the folder to "development". Now when I go to the "Wiki contents" link, it shows every wiki page as a singleton. Before I changed the folder name it showed a nice tree of how all the pages were related to each other. Is this normal behavior, for a folder rename to destroy all the parent-child relationships?

... --SimonMichael, Sat, 28 Feb 2004 22:31:53 -0800 reply

I guess it is.. :( perhaps a folder rename actually creates a new folder ? In which case it won't preserve the hidden .outline object.

However, at least for now the information is also stored in the parents attributes, so you can visit SOMEPAGE/updateWikiOutline and you should have it back.

Not ideal.

related problem? --MarkBronstein?, Thu, 04 Mar 2004 05:08:12 -0800 reply

I had the same experience but in addition when I tried to view the wiki pages in the renamed folder, I would get attribute errors as if it couldnt find the requested page name. When I tried running updateWikiOutline I got this error:

Traceback (innermost last)::
Module ZPublisher?.Publish, line 100, in publish Module ZPublisher?.mapply, line 88, in mapply Module ZPublisher?.Publish, line 40, in call_object Module Products.ZWiki.OutlineSupport?, line 181, in updateWikiOutline Module Products.ZWiki.OutlineSupport?, line 194, in wikiOutlineFromParents AttributeError?: 'tuple' object has no attribute 'sort'

So I tried copying all the wiki pages to a newly created folder. The paste button wouldnt appear for some reason after I used the copy button, so I wrote a script to copy the pages. This worked and I can now view the new pages but updateWikiOutline fails the same way when I try to use it on the new folder. (freebsd, Zope 2.7, plone 2.0, zwiki .28) any thoughts?


should be fixed in 0.39, see also #1044 --simon, Tue, 01 Mar 2005 22:08:30 -0800 reply

Status: open => closed