ZF-3177: Exception thrown when loading PDF at Pdf/Element/Array.php:84
Description
When attempting to load the attached PDF (Thesis-broken.pdf), an exception is thrown and not caught.
Fatal error: Uncaught exception 'Exception' with message 'Undefined property: Zend_Pdf_Element_Array::$value' in ZendFramework-1.5.1/library/Zend/Pdf/Element/Array.php:84 Stack trace:
0 ZendFramework-1.5.1/library/Zend/Pdf.php(299): Zend_Pdf_Element_Array->__get('value')
1 ZendFramework-1.5.1/library/Zend/Pdf.php(242): Zend_Pdf->__construct('system/applicat...', NULL, true)
2 (my file) PDFGen.php(197): Zend_Pdf::load('system/applicat...')
I checked the PDF and it seems to load fine in Evince. When I export the pdf from Evince into a new file (Thesis-works.pdf), it then will process.
Thanks!
Comments
Posted by Logan Buesching (ljbuesch) on 2008-04-25T10:32:35.000+0000
This PDF triggers the bug
Posted by Logan Buesching (ljbuesch) on 2008-04-25T10:32:59.000+0000
This PDF is what Evince created, and does not trigger the bug.
Posted by Wil Sinclair (wil) on 2008-06-09T12:31:04.000+0000
Please evaluate and fix/categorize as necessary.
Posted by Alexander Veremyev (alexander) on 2008-11-07T10:54:04.000+0000
Fixed.
The problem was in a PDF array element used within PDF Trailer->Info object ('AAPL:Keywords' Info dictionary item). (Producer - Mac OS X 10.5.2 Quartz PDFContext)
PDF Arrays and dictionaries Info structure items are supported now.
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:12.000+0000
Changing issues in preparation for the 1.7.0 release.