Zend Framework

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.8.4, 1.10.3
  • Fix Version/s: None
  • Component/s: Zend_Pdf
  • Labels:
    None

Description

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.

Issue Links

Activity

Hide
Chris Hiestand added a comment -

Still an issue in 1.10.3

Show
Chris Hiestand added a comment - Still an issue in 1.10.3

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: