Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.5
-
None
Description
The extension property pdf:embedded-file (to attach files to the pdf) is not working, and generates a NullPointerException.
I noticed the problem while trying to write an answer to this StackOverflow question: http://stackoverflow.com/questions/28110607/unable-to-add-an-attachment-to-a-pdf-while-using-fop
(the question is about a different problem, but while testing on fop-trunk I noticed this bug I'm reporting).
Looking at the revision history, I think the implementation of this extension has been broken since revision [1522934].
I'm going to attach a simple fo file showing the problem, together with a proposed patch.
I have been a fop committer for some time, followed by a looong period of just lurking the mailing list; I tried to commit the changes myself, but I guess my long inactivity period has caused the revocation of my commit privileges.
Attachments
Attachments
Issue Links
- duplicates
-
FOP-2348 [PATCH] PDF File Attachment Extension is broken
- Resolved