You are here: Foswiki>Tasks Web>Item9193 (29 Dec 2014, GeorgeClark)Edit Attach

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

pencil
Priority: Low
Current State: Duplicate
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
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
Priority Low
CurrentState Duplicate
WaitingFor
Checkins distro:5167924dcfbe
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 29 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy