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 2006/04/20 16:06:06 UTC
[jira] Commented: (ADFFACES-1) tableSelectMany may break with
non-string row keys
[ http://issues.apache.org/jira/browse/ADFFACES-1?page=comments#action_12375389 ]
Adam Winer commented on ADFFACES-1:
-----------------------------------
This'll be fixed in the first code drop. Thanks for the report.
> tableSelectMany may break with non-string row keys
> --------------------------------------------------
>
> Key: ADFFACES-1
> URL: http://issues.apache.org/jira/browse/ADFFACES-1
> Project: MyFaces ADF-Faces
> Type: Bug
> Environment: all
> Reporter: Frank Felix Debatin
> Assignee: Adam Winer
>
> from RowKeySet.java: the cast to String is unnecessary and wrong. (This would break if you clicked "Select All", then deselected a row, and had a non-string row key).
> private Object _next()
> {
> while(rowKeyIterator.hasNext())
> {
> String rowKey = (String) rowKeyIterator.next(); // !?
> if (!set.contains(rowKey))
> return rowKey;
> }
> return null;
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira