incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Resolved: (ADFFACES-463) UIXTable.getSelectedRowData() does not check if selected row is still available
Date Fri, 20 Apr 2007 15:57:18 GMT

     [ https://issues.apache.org/jira/browse/ADFFACES-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Winer resolved ADFFACES-463.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-incubating-core-SNAPSHOT
         Assignee: Adam Winer

Fixed.  Thanks for the report.

> UIXTable.getSelectedRowData() does not check if selected row is still available
> -------------------------------------------------------------------------------
>
>                 Key: ADFFACES-463
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-463
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Components
>            Reporter: Max Starets
>         Assigned To: Adam Winer
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>
> UIXTable should call model.isRowAvailable() before calling model.getRowData().
> If the row has been removed during the 'invoke application' phase, a call to getSelectedRowData()
throws an Illegal Argument exception. This was tested with the data model adapted from the
ArrayList. Note that ArrayDataModel does not check whether the its current index is valid.
> getSelectedRowData() should return null if the selected row is not available.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message