xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Furini (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException
Date Fri, 23 Jan 2015 22:32:35 GMT

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

Luca Furini updated FOP-2441:
-----------------------------
    Attachment: test_attachment.fo

Simple fo file to reproduce the error

> 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: 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)

Mime
View raw message