You are here: Foswiki>Tasks Web>Item11931 (21 Dec 2014, GeorgeClark)Edit Attach

Item11931: Automatic WikiWord verification is broken

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TopicUserMappingContrib
Branches:
Reported By: JanKrueger
Waiting For:
Last Change By: GeorgeClark
JavascriptFiles/foswikiString (which is included and used by .../data/System/DefaultUserRegistration.txt as a raw ADDTOZONE call) needs to be loaded after JQUERYPLUGIN::FOSWIKI but it's not included as a requires parameter in the ADDTOZONE call. The result is that automatic WikiWord verification (which requires foswikiString) fails.

Here's a straightforward patch to fix it:

--- a/branches/Release01x01/TopicUserMappingContrib/data/System/DefaultUserRegistration.txt   2012-06-08 11:44:09.634749956 +0200
+++ b/branches/Release01x01/TopicUserMappingContrib/data/System/DefaultUserRegistration.txt   2012-06-08 11:44:27.830750889 +0200
@@ -1,6 +1,7 @@
 %META:TOPICINFO{author="ProjectContributor" date="1317512344" format="1.1" version="1"}%
 %ADDTOZONE{ "script" id="JavascriptFiles/foswikiString"
             text="<script type='text/javascript' src='%PUBURL%/%SYSTEMWEB%/JavascriptFiles/foswikiString.js'></script>"
+            requires="JQUERYPLUGIN::foswiki"
 }%
 <noautolink>
 ---+ %MAKETEXT{"Registration"}%

-- JanKrueger - 08 Jun 2012

This seems to be working now. Setting to no action.

-- GeorgeClark - 21 Dec 2014
 

ItemTemplate edit

Summary Automatic WikiWord verification is broken
ReportedBy JanKrueger
Codebase 1.1.5
SVN Range
AppliesTo Extension
Component TopicUserMappingContrib
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 21 Dec 2014, 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