[hibernate-issues] [Hibernate-JIRA] Created: (HBX-785) Entity property table corrupt for Collections in Firefox

Mark Hobson (JIRA) noreply at atlassian.com
Mon Oct 23 08:31:05 EDT 2006


Entity property table corrupt for Collections in Firefox
--------------------------------------------------------

         Key: HBX-785
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-785
     Project: Hibernate Tools
        Type: Bug

  Components: hbm2doc  
    Versions: 3.2beta8    
    Reporter: Mark Hobson
 Attachments: patch.txt

The entity.ftl template can output ROWSPAN="0" for Collection properties since org.hibernate.mapping.Collection.getColumnSpan() == 0.  IE6 incorrectly interprets this as ROWSPAN="1", but HTML 4 states that this means "the cell spans all rows from the current row to the last row of the table section", and is thus corrupt under Firefox.

The attached patch conditionally adds the ROWSPAN attribute if >0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list