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

Item5408: TablePlugin not sensitive to URL rewrites

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TablePlugin Normal Waiting for Feedback TWiki:Main.RafaelAlvarez TWiki:Main.ChrisFLewis n/a 4.2.2

Edit Form Data

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

Detail

TablePlugin works under the assumption that you aren't using rewritten URLs.

Line 1695 in Core.pm

$url = $cgi->url . $cgi->path_info() . '?' . $plist;

should be changed to

$url = $cgi->url(rewrite => 1, -path_info => 1) . '?' . $plist;

-- TWiki:Main/ChrisFLewis - 03 Mar 2008

This should be solved with the fix for Item2525

-- TWiki:Main.RafaelAlvarez - 08 Aug 2008

Like Item2525, since it's still broken on trunk, I'm reopening this.

-- TWiki:Main.GilmarSantosJr - 08 Aug 2008

To make TablePlugin aware of URL rewrites depends on the not-CGI-standard REQUEST_URI variable. I couldn't figure out why TablePlugin should be aware of rewrites... (consider that we have $TWiki::cfg{ScriptUrlPath} and $TWiki::cfg{ScriptUrlPaths}{*}. Every situation that I could imagine of using rewrites lead me to configure these setting properly and don't rely on the non-standard variable). I'd like more feedback on this issue.

-- TWiki:Main.GilmarSantosJr - 11 Aug 2008

ItemTemplate
Summary TablePlugin not sensitive to URL rewrites
ReportedBy TWiki:Main.ChrisFLewis
Codebase 4.2.0, ~twiki4
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Waiting for Feedback
WaitingFor TWiki:Main.RafaelAlvarez TWiki:Main.ChrisFLewis
Checkins

TargetRelease n/a
ReleasedIn 4.2.2
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2008-08-11 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback