[PEAR-BUG] Bug #17594 [NEW]: Pyrus: SimpleChannelServer release bug
[email protected] ("warnar at dmmw dot nl") Wed, 14 Jul 2010 17:25:46 +0000 (GMT)
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
From: boekkooi Operating system: Windows 7 x64 Package version: PHP version: 5.3.1 Package: Documentation Bug Type: Bug Bug description: Pyrus: SimpleChannelServer release bug Description: ------------ When trying to do scs-release from a directory other then the channel directory the following exception is throw: Fatal error: Call to a member function saveRelease() on a non-object in C:\Users\Warnar Boekkooi\Documents\pear\php\PEAR2\SimpleChannelServer\CLI.php on line 225 Test script: --------------- Goto a directory other then you channel directory and do: php pyrus.phar scs-release d:\pear\packages\test\te st-0.1.0.tar warnar Expected result: ---------------- - A nice exception saying that you need to be in the channel directory to execute this command. Actual result: -------------- Fatal error: Call to a member function saveRelease() on a non-object in C:\Users\Warnar Boekkooi\Documents\pear\php\PEAR2\SimpleChannelServer\CLI.php on line 225 -- Edit bug report at http://pear.php.net/bugs/bug.php?id=17594&edit=1 --