cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item10685 (02 Dec 2012, GeorgeClark)Edit Attach

Item10685: Func::createWeb fails to customize WebPreferences as documented

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: FoswikiFunc
Branches: Release01x01 trunk
Reported By: SvenDowideit JayenAshar
Waiting For:
Last Change By: GeorgeClark
it doesn't pass on the $options hash to customise the webprefs

and blindly adding it in didn't fix it.

needs a unit test, and a fix.

-- SvenDowideit - 27 Apr 2011

This breaks the AddressTests and StoreTests, so there ya go, there are test cases for it smile

-- PaulHarvey - 27 Apr 2011

I've reverted for now, because I think it makes things worse.

-- PaulHarvey - 28 Apr 2011

blindly adding $_[2] worked for me...

-- JayenAshar - 18 Dec 2011

wrote tests first and made local var

-- SvenDowideit - 05 Oct 2012 - 21:09

 
Topic revision: r11 - 02 Dec 2012, GeorgeClark - This page was cached on 22 Mar 2018 - 16:37.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License