ssimms / pdfapi2

Create, modify, and examine PDF files in Perl
Other
15 stars 20 forks source link

Fix an issue with find_prop #21

Closed draxil closed 2 years ago

draxil commented 4 years ago

I found an issue with a PDF where during ->openpage I got an exception when within "lib/PDF/API2/Basic/PDF/Pages.pm" it was trying to call "find_prop" on it's ->{Parent} where that was a PDF::API2::Basic::PDF::Objind.

I patched it and it seemed to work for me, so I thought i'd try and push it upstream.

My test is a bit rubbish, but it does reproduce the issue and since the data of the PDF isn't mine it's the best I can do.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.003%) to 56.845% when pulling cc7b99389717745cba08e6652f9a7841e949b788 on draxil:master into fcc73b15b2e1b837a42689e1294be6868107e8b8 on ssimms:master.

ssimms commented 3 years ago

See https://rt.cpan.org/Ticket/Display.html?id=130722 for context (ticket is marked as rejected because RT is no longer being used; further updates can happen here).