You are here: Foswiki>Tasks Web>Item13351 (12 Apr 2015, GeorgeClark)Edit Attach

Item13351: ACL Converter had left-over debug code, restricts topics processed

pencil
Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component: Configure, FoswikiTools
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Discovered that tools/convertTopicSettings.pl had leftover debug code, restricting it to only update topics containing TestTopic in the topic name.

Also, add a checker to WARN during bootstrap that this conversion needs to be done when migrating data.

-- GeorgeClark - 04 Apr 2015

Hot fix: Delete the line restricting topic names.

diff --git a/core/tools/convertTopicSettings.pl b/core/tools/convertTopicSettings.pl
index 99ee991..9f172c4 100755
--- a/core/tools/convertTopicSettings.pl
+++ b/core/tools/convertTopicSettings.pl
@@ -79,8 +79,6 @@ foreach my $web (@weblist) {
     my $topicCounter = 0;
     foreach my $topic ( Foswiki::Func::getTopicList($web) ) {
 
-        next unless ( $topic =~ /TestTopic/ );
-
         next if ( $topic eq $Foswiki::cfg{WebPrefsTopicName} );
         scanTopic( $web, $topic );
         $topicCounter++;

-- GeorgeClark - 04 Apr 2015
 

ItemTemplate edit

Summary ACL Converter had left-over debug code, restricts topics processed
ReportedBy GeorgeClark
Codebase 1.2.0 beta1
SVN Range
AppliesTo Engine
Component Configure, FoswikiTools
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:bbb09f40c6e8
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:bbb09f40c6e8
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 12 Apr 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