Submitted by : peterbe at: 2007-04-25T17:11:36+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

version 0.59.0 You can't programmatically create a ZWiki because manage_addWiki has a bug. It takes 'REQUEST=None' as a parameter but three lines further down it does:


fix committed --simon, Fri, 27 Apr 2007 02:28:23 +0000 reply

I've pushed a fix to CodeRepos, would you mind testing it ?

Still got REQUEST this way --betabug, Fri, 04 May 2007 06:10:07 -0700 reply

Even after the fix, we seem to end up with a REQUEST and some redirect happens at the end. It doesn't happen at the first occasion, because we also test for hasattr(self,wiki_type+'_config').

amended fix in darcs now --betabug, Fri, 04 May 2007 06:33:00 -0700 reply

Works for me, only thing I don't know is the default parameter wiki_type='zwikidotorg' which doesn't work for me... shouldn't that be wiki_type='basic' now?

bleh, messed it up --betabug, Fri, 04 May 2007 06:34:57 -0700 reply

My fix doesn't work at all, reworking

Sent new patch to darcs --betabug, Fri, 04 May 2007 07:50:24 -0700 reply

This one works for me and in the tests, please report if not.

final fix is in darcs --betabug, Fri, 04 May 2007 11:52:42 -0700 reply

Status: open => closed

including a test, so it should work fine now