You are here: Foswiki>Tasks Web>Item13497 (25 Sep 2016, GeorgeClark)Edit Attach

Item13497: Group topic not detected as WikiWord

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.0
Target Release: minor
Applies To: Engine
Component: I18N, Unicode
Branches:
Reported By: JozefMojzis
Waiting For:
Last Change By: GeorgeClark

Repo (at least on OS X)

  • Create a GROUP ÚňíGroup
  • to some topic add %GROUPINFO{format="Main.$name"}%

The result is like the following, e.g. unusable.

* screenshot_94.png:
screenshot 94.png

In the WikiGroups (and the OLD GROUPS macro) is OK.

* screenshot_93.png:
screenshot 93.png

-- JozefMojzis - 03 Jul 2015

This could be again only Normalisation problem... don't know - need test on Linux or such.

-- JozefMojzis - 03 Jul 2015

Looks OK to me.... ÚňíGroup

-- Main.CrawfordCurrie - 03 Jul 2015 - 11:17

The ÚňíGroup (in the Sandbox) work for me too. This is about the WikiGroups, or if you want exactly about the %GROUPINFO% macro what *doesn't works ok, at least on OS X Did you read the content of the Task? smile or frown, sad smile

-- JozefMojzis - 03 Jul 2015

I added ÚňíGroup on trunk. Other than sorting wrong, ÚňíGroup shows up in both the AdminGroup, BaseGroup, AMStudyGroup, AntiWikiSpamBypassGroup, AssociationBoardGroup, BlogAuthorGroup, Main.CDBCGroup, ConsistGroup, ContentMigrationGroup, CoreDevelopersGroup, DevelopersGroup, DocumentationGroup, ExtensionDevelopersGroup, InfrastructureTaskTeamGroup, MaintainGroup, NanoLundTritonGroup, NewNameGroup, NobodyGroup, ReleaseManagersGroup, Main.SQIM-Test_Group, SecurityGroup and on the http://trunk.foswiki.org/Main/WikiGroups topic. Must be OSX specific?

-- GeorgeClark - 03 Jul 2015

ok, so confirmend - again one normalisation problem. thank you smile

Temporary fix, util the core solve it:
--- Foswiki-2.0.0-RC2orig/lib/Foswiki/Macros/GROUPINFO.pm   2015-07-01 16:27:37.000000000 +0200
+++ Foswiki-2.0.0-RC2/lib/Foswiki/Macros/GROUPINFO.pm   2015-07-03 14:14:46.000000000 +0200
@@ -3,6 +3,7 @@
 
 use strict;
 use warnings;
+use Unicode::Normalize;
 
 BEGIN {
     if ( $Foswiki::cfg{UseLocale} ) {
@@ -136,6 +137,7 @@
     }
     else {
         $result = $header . join( $sep, @rows ) . $footer;
+        $result = NFC($result) if $Foswiki::UNICODE;
     }
     return expandStandardEscapes($result);
 }

-- JozefMojzis - 03 Jul 2015

I believe that this should have been fixed in 2.1.0 where we added normalization by default. Setting to closed.

-- GeorgeClark - 25 Sep 2016

 

ItemTemplate edit

Summary Group topic not detected as WikiWord
ReportedBy JozefMojzis
Codebase 2.0.3, 2.0.2, 2.0.1, 2.0.0
SVN Range
AppliesTo Engine
Component I18N, Unicode
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 2.1.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
screenshot_93.pngpng screenshot_93.png manage 21 K 03 Jul 2015 - 10:56 JozefMojzis  
screenshot_94.pngpng screenshot_94.png manage 9 K 03 Jul 2015 - 10:56 JozefMojzis  
Topic revision: r8 - 25 Sep 2016, 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