[Koha-bugs] [Bug 9011] Add the ability to store the last patron to return an item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 26 21:08:47 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9011

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #91 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Kyle, 

there is something going wrong for me:
Patron: store never
StoreLastPatron: Yes
OpacPrivacy: Yes
opacreadinghistory: Yes
AnonymousPatron: set to borrowernumber

I check out a book and check it back in.

Expectation: The table old_issues should show a new entry with the patron's
borrowernumber.

But: there is no entry in old_issues...

Instead I have a DB error in the logs:
[Sun Oct 26 17:03:20.914868 2014] [cgi:error] [pid 28492] [client
127.0.0.1:41501] AH01215: [Sun Oct 26 21:03:20 2014] checkin: DBD::mysql::st
execute failed: Duplicate entry '15' for key 'PRIMARY' at
/home/katrin/kohaclone/C4/Circulation.pm line 2072., referer:
http://localhost:8080/cgi-bin/koha/circ/circulation.pl

I think the way the new issue_id is set does not work correctly. The new issue
gets 16 - while I already have ids way above 30 in both tables.
After the update it looked ok, but it's not working right for new ids.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list