• 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.

Item4756: raw=all does not show all meta when VIEW_TEMPLATE is defined.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Look at http://develop.twiki.org/~twiki4/cgi-bin/view/TWiki/WebTopicCreator?raw=debug

I would really prefer that view templates are not respected when you raw=debug

Otherwise the only way to see content when trouble shooting is at file level. And I do not want to give all admins root or file level access to the webserver.

raw=on and raw=debug should show me the "code".

-- TWiki:Main/KennethLavrsen - 01 Oct 2007

After I read the f***ing manual I can see that there is a raw=all that will ignore the templates. Guess that is OK then.

-- TWiki:Main/KennethLavrsen - 05 Oct 2007

Currently http://develop.twiki.org/~twiki4/cgi-bin/view/TWiki/WebTopicCreator?raw=all is an empty topic?

-- TWiki:Main.SteffenPoulsen - 05 Oct 2007

It is empty because it sets a VIEW_TEMPLATE in META. Which is causing the problem in Item4755.

-- TWiki:Main.ArthurClemens - 05 Oct 2007

Well. Then we actually have a bug. The raw=all is documented to be showing everythintg including META.

Re-opening and changing title. It is important for an admin that he can quickly see the raw file when debugging problems for users without having to ssh into the webserver to look at files.

The bug is that view=all does not ignore the VIEW_TEMPLATE. view=all should shown the raw file in the browser - provided that you have access - and in a way that no scripting or HTML is shown as such in the browser. We need to see the raw text uninterpreted which probably means encoding some characters. We already do that it seems. The only problem seems to be that we do not ignore the template.

-- TWiki:Main.KennethLavrsen - 06 Oct 2007

Fixed. All template inputs are now ignored with raw=debug and raw=all. Both URL and settings. raw=on and raw=text will still respect view templates in case someone will use this for ajax etc.

-- TWiki:Main.KennethLavrsen - 06 Oct 2007

Most people are still irritated if you click on "Raw view" and you don't get a raw view. The standard url of "Raw view" is using a raw=on which still is respecting view templates ... which it shouldn't. raw=on is pretty useless to ajax as far as I can see. You could use a skin=text or similar.

Anybody using raw=on for ajaxing, last chance: PLEASE SPEAK UP.

Reopening and marking it as urgent.

-- TWiki:Main.MichaelDaum - 30 Apr 2008

You should open a new bug item.

Is this a release blocker for 4.2.1 or for 5.0?

-- TWiki:Main.KennethLavrsen - 30 Apr 2008

Ah ok, created Item5593 and closing this one again.

-- TWiki:Main.MichaelDaum - 30 Apr 2008

ItemTemplate
Summary raw=all does not show all meta when VIEW_TEMPLATE is defined.
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.3.0, Sun, 30 Sep 2007, build 15107
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15176 TWikirev:15177
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2008-04-30 - MichaelDaum
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback