III Connector Fines Bug
Hi All,
We found that the float casting in the iii connector was causing a bug
with large fines. 1,000 would be truncated to $1. The charge however
would be the full $1,000. A rare occurrence but we found some typo's
in entered book replacement values that unfortunately brought it up.
Eric redid the function to strip out any characters that float casting
can't handle (leaving just numbers and period). This should prevent
this problem from happening and in those cases where the stripping
affects the value should at least be an error obvious to the patron
(100 fine instead of 1) than the opposite direction. You can find the
changes in the latest commit or here they are for easy viewing:
http://github.com/eby/locum-iii/commit/6ea8483fe5d92d2c6c522132f014fa6cf...
We haven't backported this to the 2006 connector so someone using that
might want to change, test and then let use know.
Eby & Eric
AADL



4 weeks 1 day ago
4 weeks 3 days ago
4 weeks 3 days ago
4 weeks 4 days ago
6 weeks 20 hours ago
7 weeks 4 days ago
19 weeks 4 days ago
1 year 29 weeks ago
1 year 31 weeks ago
1 year 37 weeks ago