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

Item5593: raw=on broken on topics with a view_template

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch  

Edit Form Data

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

Detail

This should have been fixed as part of Item4756 already where raw=all and raw=debug have already been spotted as being broken for topics with a VIEW_TEMPLATEs. Oh well frown

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.

-- TWiki:Main/MichaelDaum - 30 Apr 2008

I use skin=text, as you say, raw=on implies that you get raw topic text

-- TWiki:Main.SvenDowideit - 30 Apr 2008

I don't use the view script for AJAXing any more (the error handling is too painful), but like Sven I used raw=on;skin=text in older code.

-- TWiki:Main.CrawfordCurrie - 01 May 2008

Have not found anyone taking advantage raw=on in an application on our TWiki'es.

-- TWiki:Main.KennethLavrsen - 01 May 2008

Okay so it seems raw=on should ignore view_templates the same way as raw=debug and raw=all?

-- TWiki:Main.MichaelDaum - 06 May 2008

I saw this as a (security) feature not a bug. wink You can hide your TWiki app sources with it.

-- TWiki:Main.OliverKrueger - 07 May 2008

Hehe, yea me to. But raw=all was always an option. Well and people complained about certain twikiapps breaking normal twiki operations like raw=on.

-- TWiki:Main.MichaelDaum - 08 May 2008

Hiding TWiki source is un-wiki and a total misunderstanding of what a wiki is all about.

It should ALWAYS be possible to see the sources of a TWiki page as long as you have access rights to see the topic.

I would not want to see features popping up in TWiki that enables closed source, proprietary content, experts only, behavior from application writers. There are other CMS type platforms that does this much better than TWiki. We must never loose the core values of TWiki which is the openess and the wiki principle.

-- TWiki:Main.KennethLavrsen - 11 May 2008

Kenneth, what exactly are you talking about?

This report is about fixing a bug -- not keeping a niche that unfortunately still exists in 4.2. I just wanted to make sure that nobody is still using it.

So as nobody objected until now, we will make raw=on behave like it should.

-- TWiki:Main.MichaelDaum - 17 May 2008

My answer was to Oliver. There should at least always be ONE way to see the sources of a TWiki topic people looking at sources is one of the best ways to learn how to build your own application and being a great believer in open source I find this higher priority than helping some app developer to protect his sources.

No problem with me in you changing this as you suggested in the intro Michael. wink

-- TWiki:Main.KennethLavrsen - 19 May 2008

Downgrading to Normal. We can release 4.2.1 with this unfixed

-- TWiki:Main.KennethLavrsen - 27 May 2008

This one was too easy to fix to let it slip through.

-- TWiki:Main.MichaelDaum - 30 May 2008

ItemTemplate
Summary raw=on broken on topics with a view_template
ReportedBy TWiki:Main.MichaelDaum
Codebase 4.2.0, 4.2.1
SVN Range TWiki-5.0.0, Tue, 15 Apr 2008, build 16676
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:16851 TWikirev:16852
TargetRelease patch
ReleasedIn

Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r15 - 2008-08-04 - 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