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