You are here: Foswiki>Tasks Web>Item2328 (05 Jul 2015, GeorgeClark)Edit Attach

Item2328: Table sorting still doesn't work if topic name contains an umlaut

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: I18N, TablePlugin
Branches: master
Reported By: MartinKaufmann
Waiting For:
Last Change By: GeorgeClark
There used to be a bug about messed-up links for table sorting in topics with an umlaut in the topic name (see Item5125). This bug seems to be fixed. But now, there is a new one: table sorting only works the first time in such a topic. An example is shown in Sandbox.TestTöpic.

When I open this topic for the first time, the umlaut in the address bar is encoded as TestT%f6pic, but after sorting the table for the first time, the topic name in the address bar changes to TestTöpic. When sorting a second time, it tries to open a topic called TestTöpic (which of course doesn't exist).

Btw, automatic linking to such a topic doesn't seem to work on foswiki.org, but works on our wiki - probably due to different encoding settings. Test link: TestTöpic

-- MartinKaufmann - 04 Nov 2009

Topic-name-corruption problem confirmed

-- MichaelTempest - 03 Jul 2010

Now that core is utf-8, fix by calling Foswiki::decode_utf8 on the url. I've checked in a fix, and it seems to be working.

Crawford, marking this fix for your review.

-- Main.GeorgeClark - 23 Jun 2015 - 01:29
 

ItemTemplate edit

Summary Table sorting still doesn't work if topic name contains an umlaut
ReportedBy MartinKaufmann
Codebase 1.0.7
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component I18N, TablePlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:5d9b2319c7d7 distro:c0f50c8e3b52
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:5d9b2319c7d7 distro:c0f50c8e3b52
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy