Edit report at http://pear.php.net/bugs/bug.php?id=18581&edit=1
ID: 18581
Updated by: [email protected]
Reported By: jan at horde dot org
Summary: "config-get -c" not returning channel's configuration
-Status: Open
+Status: Verified
Type: Bug
Package: PEAR
-Package Version: 1.9.2
+Package Version: 1.9.3
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
-Status: Open
+Status: Verified
-Package Version: 1.9.2
+Package Version: 1.9.3
s/discover-channel/channel-discover
So; after a bit of poking around; config-show correctly realises that
'horde' is short
for pear.horde.org
config-get; not so much.
Doing:
pear config-get -c pear.horde.org horde_dir
produces the correct results.
doConfigShow() is doing:
$channel = $reg->channelName($channel);
but doConfigGet() is not.
Previous Comments:
------------------------------------------------------------------------
[2011-06-03 09:55:21] yunosh
Description:
------------
Using the -c flag for config-get is not returning that channel's
configuration.
Test script:
---------------
pear discover-channel pear.horde.org
pear install horde/horde_role
pear run-scripts horde/horde_role -> e.g. /tmp/horde
pear config-show -c horde | grep horde_dir
pear config-get -c horde horde_dir
Expected result:
----------------
/tmp/horde
/tmp/horde
Actual result:
--------------
/tmp/horde
/usr/share/php/www/horde (or whatever your system's php_dir +
/www/horde)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18581&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.