Priority: Normal
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Engine
Component: Configure
Branches: master
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