You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2009/04/27 09:54:33 UTC

DO NOT REPLY [Bug 47101] New: table duplication in Region-Before and Region-After

https://issues.apache.org/bugzilla/show_bug.cgi?id=47101

           Summary: table duplication in Region-Before and Region-After
           Product: Fop
           Version: 1.0dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: regression
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: ptitelfe@gmail.com


Created an attachment (id=23547)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23547)
fo file and resulting pdf

if i use table in a Region Before or a Region after, table is duplicated. it
seems table is multiplicated by the page number : 2 table on page 2, 3 on page
3, etc.

it was not the case with previous version.

i have joined a FO file to reproduce the bug and the resulting PDF.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] Table in marker gets duplicated at each marker retrieval

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101


Vincent Hennebert <vh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Vincent Hennebert <vh...@gmail.com>  2009-05-13 03:29:13 PST ---
Fixed in rev. 774280
http://svn.apache.org/viewvc?view=rev&revision=774280

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] Table in marker gets duplicated at each marker retrieval

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101


Vincent Hennebert <vh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|table duplication in        |Table in marker gets
                   |Region-Before and           |duplicated at each marker
                   |Region-After                |retrieval




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] table duplication in Region-Before and Region-After

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101


Vincent Hennebert <vh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23547|0                           |1
        is obsolete|                            |




--- Comment #1 from Vincent Hennebert <vh...@gmail.com>  2009-05-07 03:39:27 PST ---
Created an attachment (id=23623)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23623)
Simplified FO file showing the problem

Thank you for your bug report. I attach a simplified FO file that can be used
for debugging. Not sure what is the reason for the duplication of the table
though.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] Table in marker gets duplicated at each marker retrieval

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #5 from Glenn Adams <gl...@skynav.com> 2012-04-01 06:34:09 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] Table in marker gets duplicated at each marker retrieval

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101





--- Comment #3 from Andreas L. Delmelle <ad...@apache.org>  2009-05-07 13:33:43 PST ---

Most likely cause: when cloning the table-body upon each marker-retrieval, it
does not go deep enough. Some member (can't tell yet which one exactly) is
copied as a reference, while it should, in fact, be an entirely separate
instance. Overriding clone() in the corresponding FONode type (TablePart?) to
add specific behavior may just be enough to fix this...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47101] Table in marker gets duplicated at each marker retrieval

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47101





--- Comment #2 from Andreas L. Delmelle <ad...@apache.org>  2009-05-07 13:25:36 PST ---
(In reply to comment #1)
> Created an attachment (id=23623)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23623) [details]
> Simplified FO file showing the problem
> 
> Thank you for your bug report. I attach a simplified FO file that can be used
> for debugging. Not sure what is the reason for the duplication of the table
> though.

I did a quick check here, but haven't found out what the exact cause is either.
One interesting thing I did notice so far: it is not the table that is
duplicated, but the table-cell. On the first page, I get only one call to
TableCellLM. On the second page, I get two, made by the same RowGroupLM. The
table-body on the second page has its rowGroups set to 2...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.