Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item9868: Sort links on table headings are adding the command suffix on

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
I just noticed a problem I've never seen before.

If I click on a table column heading, which sets the table sort order, the url looks like this http://rsmc32-fps02/rslpwiki/bin/view.pl.pl/RSLP/IT/HardwareTopics?sortcol=0;table=1;up=0#sorted_table

Note the view.pl.pl

I have the script suffix set to $Foswiki::cfg{ScriptSuffix} = '.pl'; in bin, I have all of the programs renamed to include a .pl.

If I take the above link and execute it without the extra .pl, the table sorts properly.

Pretty much everywhere except for the table heads, things work like I expect them to as far as the script suffix.

I figured that maybe there's an old template somewhere that was left over, but I can't figure out where to look.

I am running what might be a nightmarish mess and so I am not sure where to lay the blame. I am running Foswiki 1.1.0 that was upgraded from 1.0.9 that was upgraded from TWiki 4.2.1 on IIS 6.0.

And, I recently put in a boatload of extensions, which may have caused this. My extension installation spree or recent upgrade to 1.1.0 managed to break the proper operation of the wysiwyg editor in IE 7 (works fine in Firefox 3.6.9, though).

-- MatthewKoundakjian - 22 Oct 2010

This is a bug in Foswiki::Request - it was appending the ScriptSuffix to the action even when the {ScriptUrlPaths}{view} was set to the explicit view script including script suffix.

-- GeorgeClark - 23 Oct 2010

Thanks, George.

-- MatthewKoundakjian - 23 Oct 2010
 

ItemTemplate edit

Summary Sort links on table headings are adding the command suffix on
ReportedBy MatthewKoundakjian
Codebase 1.1.0
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:9679 Foswikirev:9680
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r6 - 25 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License