[ 
https://issues.apache.org/jira/browse/FOP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luca Furini updated FOP-2441:
-----------------------------
    Attachment: change.diff

Proposed patch

> pdf:embedded-file extension is broken, gives NullPointerException
> -----------------------------------------------------------------
>
>                 Key: FOP-2441
>                 URL: https://issues.apache.org/jira/browse/FOP-2441
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>            Reporter: Luca Furini
>            Priority: Minor
>         Attachments: change.diff, test_attachment.fo
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to