PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR_PackageFileManager » Bug #5874

Fails generation on missing "notes" element without error message.

Details

Submitted2005-11-05 17:26 UTC
Frommichal dot unzeitig at artio dot net
Assignedfarell
StatusClosed
PackagePEAR_PackageFileManager
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-11-05 17:26 UTC] michal dot unzeitig at artio dot net

Description:
------------
If "notes" option is missing in setOptions setting, the generation of XML fails, but no error message is given.

Error is detected in PEAR_PackageFile_v1::validate() at

if (empty($info['release_notes']))

, which results in that $packagexml = $common->xmlFromInfo($this->_packageXml) return false value.

The error is however not detected anywhere.