[richfaces-issues] [JBoss JIRA] (RF-12004) rich:dataTable. DataModel data & rowIndex are not synchronized when using breakRowBefore

Logan MAUZAIZE (JIRA) jira-events at lists.jboss.org
Mon Feb 27 04:01:37 EST 2012


Logan MAUZAIZE created RF-12004:
-----------------------------------

             Summary: rich:dataTable. DataModel data & rowIndex are not synchronized when using breakRowBefore
                 Key: RF-12004
                 URL: https://issues.jboss.org/browse/RF-12004
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.1.0.Final
            Reporter: Logan MAUZAIZE
            Priority: Minor


When activating breakRowBefore, the rowIndex of DataTable is using _physical_ row (TR tag) where as rowData is using _logical_ row.


It causes the following incorrect behaviors (when selecting a valid line) :
_if physical row index is greater than (or equal to) logical row count_
* isRowAvailable() returns false
* getRowData() throws NoRowAvailableException
* Using both getRowIndex() and source data (ie from a backing-bean) causes RowIndexOutOfBoundException

_if physical row index is lower than logical row count and greather than zero_
* getRowData() doesn't return the matching row data
* Using both getRowIndex() and source data (ie from a backing-bean) doesn't return the matching row data


Note: Row filter usage haven't been tested and may cause more unexpected behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list