[pearweb]RPC listAll bug with package state
| From: | Pierre-Alain Joye | Date: | Tue, 03 Sep 2002 18:06:49 +0000 |
| Subject: | [pearweb]RPC listAll bug with package state | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8829@lists.php.net to get a copy of this message | ||
Hello,
Arnaud has pointed me about a bug with the 'pear remote-list' command using other states
than stable.
To reproduce it :
#pear config-set preferred_state beta
#pear remote-list
This error happens :
XML-RPC Server Fault: pear-database.php:359: Notice: Uninitialized string offset: 0
Well, a quick look to listAll() method shows this a static use of 'stable' that causes
this error, adding a 2nd optionnal arguments can fix it.
I cannot have enough time to fix it and check xmlrpc-methods.php, if anyone can take a look ?
Or I will fix it on friday.
hth
pa