Bugs on Library Module, Circulation - Member History
Brought to you by:
red1
1. Cannot edit loan history – clicking on call number
and fines (A, P, W) return error message:
org.apache.jasper.JasperException: Unable to compile
class for JSP
An error occurred at line: 3 in the jsp
file: /jsp/loanhist/edit.jsp
Generated servlet error:
The method getInstance() is undefined for the type
LoanHistoryData
2. Fines (A, P, W) not reflecting actual values -
fine made during late return does not show up in the
history page
3. The new Day(s) Left value of the same call number
always overwrite the previous value. This happened
when a student return the same copy of book >1 times.
Logged In: YES
user_id=867558
Yes, i havent done this final parts yet. So, your error
report above is exactly what i need cos u also gave me the
exception listing with the VM java calls that i can
straight correct for u.
I shall resolve that later tonite.
Thanks
Logged In: YES
user_id=867558
Gan,
thanks for all this bugs' full feedback. It tells me enuf.
All i need to do is edit the VMs.
I can now easily correct this and the others u have
posted.
All your posts for such errors is 100% perfect. Do
continue giving such bugs posts.
Logged In: YES
user_id=867558
Pls test again. Already done by editing:
DataBank data = DataBank.getInstance();
Loan loan = data.getLoanHistoryData().getLoan
(member.getId(), bookid, itemid, copyid);
Book book = data.getBookData().getBook
(loan.getBookId());
Item item = data.getBookData().getItem
(loan.getBookId(), loan.getItemId());
Copy copy = data.getBookData().getCopy
(loan.getBookId(), loan.getItemId(), loan.getCopyId());