You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2007/04/20 15:57:18 UTC

[jira] Resolved: (ADFFACES-463) UIXTable.getSelectedRowData() does not check if selected row is still available

     [ 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.