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.

Item9193: Foswiki::getScriptUrl returns absolute ULRs in some unit tests

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Waiting for Feedback Engine UrlHandling Main.SvenDowideit
See the SMELL: note in HierarchicalWebTests::test_squab_full_path_with_topic

If getScriptUrl is called any earlier than the $this->{session}->finish() it is in the command_line context and returns absolute URL.

Sven requested that a task be opened to investigate why.

-- GeorgeClark - 24 Jun 2010

I recon this is related to Item11598

This is a bizzare twist though

-- SvenDowideit - 07 Mar 2012
 

ItemTemplate edit

Summary Foswiki::getScriptUrl returns absolute ULRs in some unit tests
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Engine
Component UrlHandling
Priority Low
CurrentState Waiting for Feedback
WaitingFor SvenDowideit
Checkins Foswikirev:7911
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r5 - 08 Mar 2012, SvenDowideit
 
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