[jira] [Updated] (FOP-2904) Handle object for boundingbox in mergefonts

2020-01-15 Thread Simon Steiner (Jira)


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

Simon Steiner updated FOP-2904:
---
Summary: Handle object for boundingbox in mergefonts  (was: Handle object 
for boundingbox)

> Handle object for boundingbox in mergefonts
> ---
>
> Key: FOP-2904
> URL: https://issues.apache.org/jira/browse/FOP-2904
> Project: FOP
>  Issue Type: Bug
>Reporter: Simon Steiner
>Assignee: Simon Steiner
>Priority: Major
> Attachments: fop.xconf, simple.pdf, test.fo
>
>
> fop test.fo -c fop.xconf out.pdf
>  
> java.lang.RuntimeException: Error on PDF page: simple.pdf 
> org.apache.pdfbox.cos.COSObject cannot be cast to 
> org.apache.pdfbox.cos.COSArray



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (FOP-2904) Handle object for boundingbox

2020-01-15 Thread Simon Steiner (Jira)


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

Simon Steiner resolved FOP-2904.

Resolution: Fixed

http://svn.apache.org/viewvc?view=revision=1872811

> Handle object for boundingbox
> -
>
> Key: FOP-2904
> URL: https://issues.apache.org/jira/browse/FOP-2904
> Project: FOP
>  Issue Type: Bug
>Reporter: Simon Steiner
>Assignee: Simon Steiner
>Priority: Major
> Attachments: fop.xconf, simple.pdf, test.fo
>
>
> fop test.fo -c fop.xconf out.pdf
>  
> java.lang.RuntimeException: Error on PDF page: simple.pdf 
> org.apache.pdfbox.cos.COSObject cannot be cast to 
> org.apache.pdfbox.cos.COSArray



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FOP-2904) Handle object for boundingbox

2020-01-15 Thread Simon Steiner (Jira)


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

Simon Steiner updated FOP-2904:
---
Description: 
fop test.fo -c fop.xconf out.pdf

 

java.lang.RuntimeException: Error on PDF page: simple.pdf 
org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSArray

> Handle object for boundingbox
> -
>
> Key: FOP-2904
> URL: https://issues.apache.org/jira/browse/FOP-2904
> Project: FOP
>  Issue Type: Bug
>Reporter: Simon Steiner
>Assignee: Simon Steiner
>Priority: Major
> Attachments: fop.xconf, simple.pdf, test.fo
>
>
> fop test.fo -c fop.xconf out.pdf
>  
> java.lang.RuntimeException: Error on PDF page: simple.pdf 
> org.apache.pdfbox.cos.COSObject cannot be cast to 
> org.apache.pdfbox.cos.COSArray



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FOP-2904) Handle object for boundingbox

2020-01-15 Thread Simon Steiner (Jira)


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

Simon Steiner updated FOP-2904:
---
Attachment: test.fo
simple.pdf
fop.xconf

> Handle object for boundingbox
> -
>
> Key: FOP-2904
> URL: https://issues.apache.org/jira/browse/FOP-2904
> Project: FOP
>  Issue Type: Bug
>Reporter: Simon Steiner
>Assignee: Simon Steiner
>Priority: Major
> Attachments: fop.xconf, simple.pdf, test.fo
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (FOP-2904) Handle object for boundingbox

2020-01-15 Thread Simon Steiner (Jira)
Simon Steiner created FOP-2904:
--

 Summary: Handle object for boundingbox
 Key: FOP-2904
 URL: https://issues.apache.org/jira/browse/FOP-2904
 Project: FOP
  Issue Type: Bug
Reporter: Simon Steiner
Assignee: Simon Steiner






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FOP-2903) Do not delete files on invocation with syntax errors in command line

2020-01-15 Thread Chris Bowditch (Jira)


[ 
https://issues.apache.org/jira/browse/FOP-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17015878#comment-17015878
 ] 

Chris Bowditch commented on FOP-2903:
-

Please attach sample files to replicate the issue or it will be closed as 
unable to replicate

> Do not delete files on invocation with syntax errors in command line
> 
>
> Key: FOP-2903
> URL: https://issues.apache.org/jira/browse/FOP-2903
> Project: FOP
>  Issue Type: Bug
>  Components: unqualified
>Affects Versions: 2.3
> Environment: Linux RHEL 7, FOP installed from source
>Reporter: Mathias Weiersmueller
>Priority: Trivial
>
> When invoking FOP from the command line with an error, fop deletes files. I 
> expect FOP to touch nothing upon an error.
> Example:
> {{fop -xml ./my.xml my.xsl -pdf result.pdf}}
> above command throws as expected an error because the -xsl flag is missing in 
> front of the XSL file name:
> Jan 15, 2020 8:56:03 AM org.apache.fop.cli.Main startFOP
>  SEVERE: Exception
>  org.apache.fop.apps.FOPException: you can only set one output method
> But the file my.xsl is gone (deleted) afterwards. The file should not get 
> deleted upon an error in the command line.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (FOP-2903) Do not delete files on invocation with syntax errors in command line

2020-01-15 Thread Mathias Weiersmueller (Jira)
Mathias Weiersmueller created FOP-2903:
--

 Summary: Do not delete files on invocation with syntax errors in 
command line
 Key: FOP-2903
 URL: https://issues.apache.org/jira/browse/FOP-2903
 Project: FOP
  Issue Type: Bug
  Components: unqualified
Affects Versions: 2.3
 Environment: Linux RHEL 7, FOP installed from source
Reporter: Mathias Weiersmueller


When invoking FOP from the command line with an error, fop deletes files. I 
expect FOP to touch nothing upon an error.

Example:

{{fop -xml ./my.xml my.xsl -pdf result.pdf}}

above command throws as expected an error because the -xsl flag is missing in 
front of the XSL file name:

Jan 15, 2020 8:56:03 AM org.apache.fop.cli.Main startFOP
 SEVERE: Exception
 org.apache.fop.apps.FOPException: you can only set one output method

But the file my.xsl is gone (deleted) afterwards. The file should not get 
deleted upon an error in the command line.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)