Defect #13632
closedEmpty page attached when exporting PDF
0%
Description
When exporting a PDF file, regardless whether from a ticket, ticket listing or wiki page, an empty page is added as last page of the export.
Files
Updated by Jan Stoetzer over 11 years ago
Sorry, forgot:
Environment: Redmine version 2.1.2.stable Ruby version 1.8.7 (amd64-freebsd9) Rails version 3.2.8 Environment production Database adapter MySQL Redmine plugins: redmine_inline_attach_screenshot 0.4.2 redmine_latex_mathjax 0.1.0 redmine_lightbox 0.0.1 redmine_people 0.0.1
Updated by Etienne Massip over 11 years ago
- Status changed from New to Needs feedback
- Resolution set to Cant reproduce
Can't reproduce on issue list with 2.3.0, might be caused by a plugin?
Updated by Jan Stoetzer over 11 years ago
I try to deactivate the plugins and report again. This may take some days, i am on a trip for the weekend.
Updated by Filou Centrinov over 11 years ago
Using the programm PDF-XChange I can confirm this bug. Acrobat Reader or FoxitReader do not add an empty page.
jan jan Stoetzer: Which pdf viewer are you using?
Updated by Filou Centrinov over 11 years ago
The internal pdf viewer from firefox (version 19.0.2) breaks when trying to display a pdf that was exported from redmine.
Updated by Jan Stoetzer over 11 years ago
I used SumatraPDF on Win7.
This happens regardless whether the plugins are activated or not.
- I just tested it which the default PDF-Viewer of Ubuntu10 (I do not know its name), the effect does not appear there.
- The internal PDF viewer of Firefox 19 (Linux and windows) does not display the PDF at all, the Open/Save dialogue is opened immediately.
Updated by Filou Centrinov over 11 years ago
- Yes, I can confirm that SumatraPDF displays an additional empty page.
- When firefox opens pdf in the open/save dialog it doesn't say anything about the internal PDF viewer. If you want to test the internal pdf viewer you have to make sure that the pdf is not forced to be downloaded. Therefor I put the pdf into my localhost server an call it like
localhost/my_pdf_file.pdf
It seems that the exported pdf files are corrupted and some viewers have problems with displaying these pdf files.
Updated by Philip Lapczynski over 11 years ago
I can confirm that this happens to me as well. Currently running 1.4.3.stable, but it is the same with all of the installations I've used. PDF-Xchange Viewer always shows an empty page.
Updated by Filou Centrinov over 11 years ago
Status: Confimed
Summery
Defect on: PDF-XChange, SumatraPDF
No defect on: Acrobat Reader, FoxitReader
The online pdf analyzer also confims that the exported pdf isn't well formed.
Updated by Toshi MARUYAMA over 11 years ago
- Status changed from Needs feedback to Confirmed
Updated by Etienne Massip over 11 years ago
- Target version set to Candidate for next minor release
Updated by Jun NAITOH over 11 years ago
- File tcpdf.rb_r12127.patch tcpdf.rb_r12127.patch added
I wrote patch for trunk.
Defect on: PDF-XChange, SumatraPDF
I checked that the problem had been corrected on PDF-XChange and SumatraPDF.
The online pdf analyzer also confims that the exported pdf isn't well formed.
I checked that the problem had been corrected on pdf analyzer, too.
Successful completion The file was successfully analyzed, and no corruptions have been detected.
I finished tests on following environments.
- CentOS 6 CRuby 1.8.7, 1.9.3
Updated by Toshi MARUYAMA over 11 years ago
- Target version changed from Candidate for next minor release to 2.3.4
- Resolution deleted (
Cant reproduce)
Updated by Toshi MARUYAMA about 11 years ago
- Status changed from Confirmed to Closed
- Resolution set to Fixed
Updated by Jan Stoetzer about 11 years ago
Good work, thank you for fixing this.