Defect #686
Table cell spanning more than one page...
Added by Joe Privett over 9 years ago. Updated over 7 years ago.
0%
Description
I emailed you recently about a problem in the version 5.01 of TcPDF Table, whereby if the contents of a table cell was large enough for the cell to span one page , TCPDF would hang and not complete generating the PDF document - has this been addressed?
I am using TcPDF Table version 5.0.1
Files
PDF Table Bug.rar | PDF Table Bug.rar | 2.6 KB | Joe Privett, 08/29/2014 12:11 PM | ||
pdf.class.php | pdf.class.php | 72.3 KB | Joe Privett, 09/01/2014 12:32 AM | ||
7rows.pdf | View 7rows.pdf | 129 KB | Joe Privett, 09/01/2014 12:32 AM | ||
9rows.pdf | View 9rows.pdf | 130 KB | Joe Privett, 09/01/2014 12:33 AM | ||
pdf_native_test.php | pdf_native_test.php | 1.19 KB | Joe Privett, 09/01/2014 01:39 AM |
Updated by Andrei Bintintan over 9 years ago
- Status changed from New to Feedback
- Assignee changed from Andrei Bintintan to Joe Privett
Can you upload a small example to reproduce this?
Updated by Andrei Bintintan over 9 years ago
- Status changed from Feedback to Closed
Closing the ticket due to lack of response.
Updated by Joe Privett over 9 years ago
- File PDF Table Bug.rar PDF Table Bug.rar added
Any chance of re-opening this case - I have attached an example of the code I am implementing.
The main script is ra_report_pdf_test.php
Basically, when the number of rows in my table is 7, the table is ok. 9 rows forces the table header to detach from the table body. Over 11 rows cause the script to run continuously.
Updated by Andrei Bintintan over 9 years ago
Yes, of course we can reopen. Thanks for the examples, I'll have at it.
Updated by Joe Privett over 9 years ago
Thanks. Is there a way to fast track this as we have a urgent situation whereby this bug is affecting our entire application?
Updated by Andrei Bintintan over 9 years ago
- Status changed from In Progress to Feedback
There is something wrong here.
Are you sure you use 5.01 of TcPDF Table??
From the example it seems that you're using the tfpdf -> the fpdf UTF8 Version.
$table = new tfpdfTable($this);
$table->initialize(array($obj_width), $table_config);
Besides that, what does the library/classes/pdf/pdf.class.php contain?
There are some functions in class pdf_report class that I cannot find:
$this->pdf();
$this->reset_page_style();
$this->convert(36)
Updated by Andrei Bintintan over 9 years ago
I assume you're using tfpdf version 4.2.x >>> not sure though.
Can you send me a screenshot of your bug and also run the following test:
- disable all your header and footer functions and check if the bug it's still there.
Updated by Joe Privett over 9 years ago
Andrei Bintintan wrote:
There is something wrong here.
Are you sure you use 5.01 of TcPDF Table??From the example it seems that you're using the tfpdf -> the fpdf UTF8 Version.
[...]
Besides that, what does the library/classes/pdf/pdf.class.php contain?
There are some functions in class pdf_report class that I cannot find:[...]
If I check in the folder tcpdf_table\version_table file it says 5.0.1 ....
If I check in the folder tfpdf\class.tfpdftable.php and in tfpdf\version it says 4.0.6 !
I think that what's happened is that I purchased TcPDF Table from you a year or so ago, then discovered it was the wrong package, i.e. I should have purchased FPDF Advanced Table (UTF8). As I still have the TcPDF package in my file structure, I simply looked for that version, but I am not using it in the application!
I have therefore gone ahead and just purchased the latest FPDF Advanced Table (UTF8) package. Is there any chance of being refunded for the TcPDF package that I mistakenly purchased previously?
It's all very confusing TCPDF, TFPDF, FPDF (for me anyway :) )!
Updated by Joe Privett over 9 years ago
- File pdf.class.php pdf.class.php added
- File 7rows.pdf 7rows.pdf added
- File 9rows.pdf 9rows.pdf added
ok, I installed v 5.0.1 and the same problem still exists. I have attached pdf.class.php, as requested, along with 3 examples of the output.
7rows.pdf is working fine. If i increase the example to 9 rows, the table header detatches fomr the table body. If i increase it to 11 rows, this is when the script runs indefinately.
Joe
Updated by Joe Privett over 9 years ago
- File pdf_native_test.php pdf_native_test.php added
ok, i decided to create another PDF script ONLY using your libraries and I'm seeing the same thing. See attached.
Updated by Andrei Bintintan over 9 years ago
Ok, I see now the problem. I couldn't understand until now what the issue was. I will investigate.