Item10943: Chaining method calls onto FoswikI::Address->new()
weirdness
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: minor
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