Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #4279 Typo in DependencyDB (_version)
Submitted: 2005-05-04 12:44 UTC
From: toggg Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-04 12:44 UTC] toggg
Description: ------------ As each morning I updated from CVS: # pear -V PEAR Version: 1.4.0a12 PHP Version: 4.3.11 Zend Engine Version: 1.3.0 Running on: Linux ancilla.toggg.net 2.6.11-1.14_FC3smp #1 SMP Thu Apr 7 19:38:19 EDT 2005 i686 If I try to package as non-root, which is higly to recommand for a developper.... Benchmark]$ pear package package.xml Notice: Undefined index: _version in PEAR/DependencyDB.php on line 172 Notice: Undefined index: _version in PEAR/DependencyDB.php on line 175 Analyzing Timer.php Analyzing Iterate.php Analyzing Profiler.php Package Benchmark-1.2.2.tgz done Tag the released code with `pear cvstag package.xml' (or set the CVS tag RELEASE_1_2_2 by hand) It's just a typo: Reproduce code: --------------- --- DependencyDB.php~ 2005-05-03 07:47:14.000000000 +0200 +++ DependencyDB.php 2005-05-04 14:26:29.000000000 +0200 @@ -473,7 +473,7 @@ function _getDepDB() { if (!$this->hasWriteAccess()) { - return array('version' => $this->_version); + return array('_version' => $this->_version); } if (isset($this->_cache)) { return $this->_cache; @@ -648,4 +648,4 @@ } } } -?> \ No newline at end of file +?>

Comments

 [2005-05-12 02:56 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.