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

Bug #19845 Record::toXml returns nothing
Submitted: 2013-03-07 14:41 UTC
From: jfragoulis Assigned: dbs
Status: Closed Package: File_MARC (version 0.7.1)
PHP Version: 5.3.13 OS: Ubuntu 3.5.0-19
Roadmaps: (Not assigned)    
Subscription  


 [2013-03-07 14:41 UTC] jfragoulis (john fragkoulis)
Description: ------------ When calling Record::toXml(..., ..., false) with the 'single' parameter set to 'false' the method returns nothing. Line 681 to 684. Fix would be to add the following lines after the end of the method: $this->marcxml->endDocument(); return $this->marcxml->outputMemory(); Expected result: ---------------- The record xml output. Actual result: -------------- Returns nothings.

Comments

 [2013-03-23 04:47 UTC] dbs (Dan Scott)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/File_MARC/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR.
 [2013-03-23 05:13 UTC] dbs (Dan Scott)
Of course, by SVN this really means git - https://github.com/pear/File_MARC
 [2013-04-26 12:36 UTC] jfragoulis (john fragkoulis)
Thanks. It is fixed indeed.
 [2013-08-31 02:54 UTC] dbs (Dan Scott)
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: dbs
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.