absailesh / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Issue with tables split in two pages #530

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When my table goes out of one page at that time it gives an error mentioned 
below
Uncaught exception 'DOMPDF_Exception' with message 'Frame not found in cellmap' 
in C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\cellmap.cls.php:212 
Stack trace: #0 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\table_cell_renderer.cls.php
(51): Cellmap->get_spanned_cells(Object(Table_Cell_Frame_Decorator)) #1 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\renderer.cls.php(283): 
Table_Cell_Renderer->render(Object(Table_Cell_Frame_Decorator)) #2 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\renderer.cls.php(117): 
Renderer->_render_frame('table-cell', Object(Table_Cell_Frame_Decorator)) #3 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\renderer.cls.php(185): 
Renderer->render(Object(Table_Cell_Frame_Decorator), false) #4 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\renderer.cls.php(185): 
Renderer->render(Object(Table_Row_Frame_Decorator), false) #5 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\renderer.cls.php(185): 
Renderer->render(Object(Table_Row_Group_Frame_Decor in 
C:\wamp\www\sourceweb_dev\app\vendors\dompdf\include\cellmap.cls.php on line 212

What is the expected output? What do you see instead?

Dompdf 0.6 beta, PHP 5.2.6

Please find the attached files.

Original issue reported on code.google.com by bya...@velsof.com on 3 Sep 2012 at 12:09

Attachments:

GoogleCodeExporter commented 9 years ago
There is problem with quotation item table because if we removed it from html 
then dompdf creates the PDF perfectly.

Original comment by bya...@velsof.com on 3 Sep 2012 at 12:21

GoogleCodeExporter commented 9 years ago
Same issue!

If the table spans on two or more pages, it crashes with fatal error.

Original comment by alex.tar...@gmail.com on 3 Dec 2012 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00