Item13351: ACL Converter had left-over debug code, restricts topics processed
Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component: Configure,
FoswikiTools
Branches: master
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