You are here: Foswiki>Tasks Web>Item13610 (10 Oct 2015, GeorgeClark)Edit Attach

Item13610: The CLI tools/configure is unable to run checker validation routines.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Engine
Component: Configure
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Configure uses 3 interfaces to Configure::Query

  • Configure::Query::check_current_value() Checks the current key or section of keys:
  • =Configure::Query::wizard() - called with two different conventions:
    • wizard="nameOfWizard" method="nameOfMethod"
    • wizard (no wizard name provided) method="nameOfCheckerMethod"

It appears that the CLI tools/configure doesn't call the wizard without setting a wizard name. Here is a parameter dump of the 3 different calls into Query:

check_current_value called: $VAR1 = [
          {
            'set' => {
                       '{ToolsDir}' => '/var/www/foswiki/distro/core/toolsx'
                     },
            'keys' => [
                        '{ToolsDir}'
                      ],
            'check_dependencies' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' )
          },
          bless( {
                   'messages' => [],
                   'changes' => {}
                 }, 'Foswiki::Configure::Reporter' )
        ];

Wizard called: $VAR1 = [
          {
            'keys' => '{WebMasterEmail}',
            'wizard' => 'SendTestEmail',
            'cfgusername' => 'testuser',
            'cfgpassword' => 'xxxxxxx',
            'set' => {},
            'method' => 'send'
          },
          bless( {
                   'messages' => [],
                   'changes' => {}
                 }, 'Foswiki::Configure::Reporter' )
        ];

Wizard called: $VAR1 = [
          {
            'cfgpassword' => 'xxxxxxx',
            'method' => 'validate_permissions',
            'keys' => '{ScriptDir}',
            'set' => {},
            'cfgusername' => 'testuser'
          },
          bless( {
                   'changes' => {},
                   'messages' => []
                 }, 'Foswiki::Configure::Reporter' )
        ];

-- GeorgeClark - 05 Aug 2015

Also fixing under this task: getcfg, getspec and search don't return any results.

-- GeorgeClark - 05 Aug 2015
 

ItemTemplate edit

Summary The CLI tools/configure is unable to run checker validation routines.
ReportedBy GeorgeClark
Codebase 2.0.1
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:60d64af052af distro:3b3df80b2eec
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:60d64af052af distro:3b3df80b2eec
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 10 Oct 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