• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Try to %INCLUDE{ "/foobar.html" warn="Sorry, /foobar.html does not exist" }% and you get:

Sorry, /foobar.html does not exist

A 404 error on a html file include should trigger a warning.

-- PTh

Hmm, this works here on develop.twiki.org, but not on twiki.org which runs Solaris:

%INCLUDE{ "twiki.org/foobar.html" warn="Sorry, /foobar.html does not exist" }% and you get:

Sorry, /foobar.html does not exist

-- PTh

Hmm, works here too, but not on twiki.org: http://twiki.org/cgi-bin/view/Codev/TWikiDownloadStatistics?date=2000-01 includes this URL: http://twiki.org/p/pub/_tw_download_stats/_tw_download_2000-01 . This URL does not exist and produces a "Not Found" error instead of the warn="..." message.

-- PTh

That is the way it has always been. However, 4xx and 5xx all ought to respect =warn-. 11476


4.1.0 released


Summary In INCLUDE, warn parameter does not work when including a URL
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.0.2
SVN Range TWiki-4.1-beta1, Sun, 23 Jul 2006, build 11129
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 11476
TargetRelease minor
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2007-01-16 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback