Skip to content

Commit

Permalink
Item13897: Workaround issue in tools/configure
Browse files Browse the repository at this point in the history
Manually push in the methods that should have been discovered.  I think
the issue is that the Foswiki::Configure::Query has not been required/used,  but loading it causes
lots of other issues.
  • Loading branch information
gac410 committed Jul 17, 2016
1 parent 2cc6e72 commit 13b037c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/tools/configure
Expand Up @@ -185,6 +185,10 @@ my @methods =
grep { $_ =~ /^[a-z]/ }
keys %Foswiki::Configure::Query::;

# SMELL: The above search for methods fails.
# Manually push in the methods that master discovered.
push @methods, (qw(search getcfg getspec wizard check_current_value));

foreach my $a (@methods) {
if ( $actions{$a} ) {
$action = $a;
Expand Down

0 comments on commit 13b037c

Please sign in to comment.