Issue Details (XML | Word | Printable)

Key: SAK-4581
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Haines
Reporter: Zhen Qian
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sakai

java.lang.IndexOutOfBoundsException in Assignment tool

Created: 10-May-2006 14:37   Updated: 23-Oct-2008 11:29
Component/s: Assignments
Affects Version/s: 2.1.2
Fix Version/s: 2.2.0

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
Assignment tool has more that one page implementing paging mechanism. When instructor chooses to show 20 items in the assignment list view, and navigates to the second page and tries to grade one assignment listed there. If the assignment has less than 20 submissions(definitely possible), he will get the "caused by: java.lang.IndexOutOfBoundsException: toIndex = 21" error.

This is because the paging parameter needs to be reset when navigating through different paged views.

- Zhen

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Zhen Qian added a comment - 10-May-2006 14:57
Fixed in r9250 for 2.2 and r9249 for 2.1.2.

- Zhen

John Leasia added a comment - 18-May-2006 09:23
David - this would be good to pull in to the next release - the fix is not in r9570

John Leasia added a comment - 18-May-2006 16:13
Fix looks good on 2.1.2 - need to test on 2.2

John Leasia added a comment - 09-Jun-2006 10:43
checked on 004 and did not see the exception.

Zhen Qian added a comment - 27-Jun-2006 10:13
Vivie,

Seems like this is a duplicate of SAK-4581: java.lang.IndexOutOfBoundsException in Assignment tool

Please let me know whether the SAK-4581 solution fixed your problem or not...

- Zhen