NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item10943: Chaining method calls onto FoswikI::Address->new() weirdness

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiAddress  
Sven saw it on IRC:
F::A->new(web=>'Main', topic=>'WebHome')->web() goes boom ... * Can't use an undefined value as an ARRAY reference at /home/sven/src/foswiki/core/lib/Foswiki/Address.pm line 1123

-- PaulHarvey - 06 Jul 2011

Hi Sven,

I updated tests, added a new test with the exact example you provided, and added some more ASSERTs - but it still doesn't fail for me.

Also updated doc to avoid use of webpath (use web instead).

Also removed unnecessary BEGIN block.

-- PaulHarvey - 06 Jul 2011

The new test is AddressTests::test_chain_new_web

-- PaulHarvey - 06 Jul 2011

There is some work in github I need to get merged into svn.

-- PaulHarvey - 21 Sep 2011

I think this is done

-- PaulHarvey - 09 Nov 2011
 
Topic revision: r19 - 09 Nov 2011, PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads