Forum OpenACS Q&A: Re: Error deleting an xowiki page

Collapse
Posted by Claudio Pasolini on
Hi Antonio,

I created a new xowiki page, but trying to delete it I get the same error.

Collapse
Posted by Antonio Pisano on
Found the issue: on www.oasisoftware.it there is no single delete button, only the bulk action. This is why my try succeded: I was using the single one. I could reproduce the issue that is in

/packages/xowiki/www/admin/bulk-delete.tcl

Just replace this line:
$package_id delete -name $o
with this:
$package_id www-delete -name $o

and everything should work (for me it did).

The reason of this renaming comes from a recent reform of all object methods that are being called by webpages and are therefore exposed to the user. All those methods are now called www-(old name).

We should backportport this fix to the released branch, so people don't incurr in the issue when installing. Anyway, applying my change everything should work.

Ciao!