I was receiving this error in my logs when trying to view announcments
for a class:
AnnouncementController.java: SQL Exception: Parameter index out of range.
Looks like the prepared statements setInts were off. Here is my diff to
fix:
105,106c105,106
< stmt.setInt(3, nexusID);
< stmt.setInt(4, personID);
---
> // stmt.setInt(3, nexusID);
> stmt.setInt(3, personID);
I will also post in sourceforge bug tracker. Does someone with
developer access commit the bug fixes in the bug tracking system to CVS?
Sam
|