From 6fa09e5ac72d507072c7d31d72861002d56255ff Mon Sep 17 00:00:00 2001 From: PaulHarvey Date: Sat, 17 Dec 2011 12:58:03 +0000 Subject: [PATCH] Item11356: address objects mightn't have web parts ('root' object); also, TRACE2 wasn't showing string to be parsed git-svn-id: http://svn.foswiki.org/trunk@13452 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- core/lib/Foswiki/Address.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/lib/Foswiki/Address.pm b/core/lib/Foswiki/Address.pm index 89705897b5..da39be6a1f 100644 --- a/core/lib/Foswiki/Address.pm +++ b/core/lib/Foswiki/Address.pm @@ -259,8 +259,8 @@ sub new { my $this; if ( $opts{string} ) { - ASSERT( not $opts{topic} or ( $opts{webpath} and $opts{topic} ) ) - if DEBUG; + #ASSERT( not $opts{topic} or ( $opts{webpath} and $opts{topic} ) ) + # if DEBUG; # $this->{parseopts} = { # web => $opts{web}, @@ -503,6 +503,7 @@ and resolved. sub parse { my ( $this, $path, %opts ) = @_; + print STDERR "parse(): parsing '$path'\n" if TRACE2; $this->_invalidate(); if ( not $this->{parseopts} ) { $this->{parseopts} = {