Submitted by : at: 2004-09-28T09:21:35+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

... --Tue, 28 Sep 2004 09:53:29 -0700 reply

in view mode, deleting a wiki page does not lead to upper level but tries to access the wiki page deleted, so it leads to a 404 page

... --Tue, 28 Sep 2004 09:54:34 -0700 reply

in content view, deleting works (in plone 2)

more precise --Wed, 29 Sep 2004 06:34:10 -0700 reply

To be more precise, the delete button within the wiki page (that puts the page into the 'deleted wiki pages' folder) deletes the page ... but then the browser is redirected to WikiBase?/MyDeletedPageName?/content#MyDeletedPageName? --> 404. This is within plone2. Of course the usual 'delete' way to delete objects in plone2 works ...

can't reproduce --simon, Fri, 01 Oct 2004 08:39:00 -0700 reply

I can't reproduce this at . Is your site public ?

property change --simon, Fri, 01 Oct 2004 08:40:12 -0700 reply

Name: 'IssueNo0917? deleting wiki pages makes a folder error' => 'IssueNo0917? zwiki delete button in plone redirects to wrong place ?'

right ! title change is right ! --Mon, 04 Oct 2004 02:44:44 -0700 reply

testing --Mon, 04 Oct 2004 02:57:51 -0700 reply

No, the site where I experience the problem is my own dev machine (not public) ... but does not show the 'delete'(and reparent) button ... so I cannot test it ...

testing --simon, Thu, 07 Oct 2004 18:34:02 -0700 reply

That's true.. visit and set a username. Then you should see the page management form and be able to verify that it works here.

What's your zwiki version ? (SOMEPAGE/zwiki_version)

testing done ... --Fri, 08 Oct 2004 07:31:22 -0700 reply

That's right, it's working on ... my version is ZWiki-0-33-0 ... it might be the reason why ... I haven't upgraded so far 'cause I've seen somewhere that ZWiki 0-34+ requires zope 2.7.2 and I'm still on 2.7.0 on my servers ...

is it true ? --Sun, 10 Oct 2004 07:52:06 -0700 reply

... that Zwiki 0-34+ requires zope 2.7.2+ ?

Reproducable --Martijn Pieters, Fri, 11 Mar 2005 08:28:31 -0800 reply

I can reproduce this; I ran into it myself. If you create a page without a parent, for example through the normal Plone drop-down add-item box (left of wiki search action), and then delete that page, yoy get the 404.

What happens is that there is no parent link in OutlineSupport?.primaryParentUrl(), so it returns self.contentsUrl() instead. But contentsUrl depends on the current page URL, and that one is being deleted!

The delete code should special case the situation where there is no parent and redirect to the FrontPage instead.

Reproducable --simon, Fri, 11 Mar 2005 22:28:02 -0800 reply

Ah, top-level pages. Thanks very much. We now redirect to the front page as I think we used to (primaryParentUrl now can return None, new method upUrl added).

property change --simon, Fri, 11 Mar 2005 22:28:32 -0800 reply

Status: open => closed