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.

Item10495: Fix compare unit tests; default Foswiki::UI topic/web missing response status should be 404, not 403.

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension CompareRevisionsAddOn PaulHarvey
compare just calls Foswiki::UI::checkTopicExists without catching any exception. So the unit test doesn't get any HTTP/HTML back, and can't parse a response code.

Removing it from the list of verify_switchboard_function_nonExistantWeb tests.

Also, fixed Foswiki::UI's default 403 response code (should be 404 for topic/web missing).

-- PaulHarvey - 17 Mar 2011

 

ItemTemplate edit

Summary Fix compare unit tests; default Foswiki::UI topic/web missing response status should be 404, not 403.
ReportedBy PaulHarvey
Codebase 1.1.3 beta1, trunk
SVN Range
AppliesTo Extension
Component CompareRevisionsAddOn
Priority Normal
CurrentState Closed
WaitingFor PaulHarvey
Checkins Foswikirev:11100 Foswikirev:11101 Foswikirev:11110 Foswikirev:11111
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r7 - 16 Apr 2011, KennethLavrsen
 
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