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

Bug #5874 Fails generation on missing "notes" element without error message.
Submitted: 2005-11-05 17:26 UTC
From: michal dot unzeitig at artio dot net Assigned: farell
Status: Closed Package: PEAR_PackageFileManager
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 7 - 6 = ?

 
 [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.

Comments

 [2006-02-06 23:10 UTC] farell
Problem may occurs also with "package", "summary", "description", "version", "state", "license" elements. Fix for all these elements now. Laurent