ZF-7177: When ZendPDF::save() exits due to fatal error/exception, PDF file is erased

Issue Type: Bug Created: 2009-07-01T17:53:20.000+0000 Last Updated: 2012-11-20T21:37:46.000+0000 Status: Open Fix version(s): Reporter: Chris Hiestand (dimmer) Assignee: None Tags: - Zend_Pdf

Related issues: - ZF-7176



Zend_PDF::save() should gracefully degrade on failure - leaving the PDF unchanged. Instead the PDF is made empty and filesize is zero.

To Reproduce: Use the files in issue #ZF-7176 - after reproducing that bug, the file is destroyed.


Posted by Chris Hiestand (dimmer) on 2010-04-19T16:14:17.000+0000

Still an issue in 1.10.3

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.