Koha/t
Joe Atzberger 51e8fc2cb6 bug 3435: AddReturn overhaul.
Required for SIP checkin implementation, but also for internal correctness.
AddReturn had too many things going on, with no guarantee of data being
available for the later calls.  At some point we started tacking on all the
branch transfer logic without testing edge cases.  In particular, $borrower
is not checked to be sure it is defined, considering the item may not have been
checked out so no borrower would be associated.  That means that CircControl
of "PatronLibrary" would be inaccurate, Circ Alerts will be totally confused
(untargeted), and the Fix... subs would fail.

Note that *many* errors are still present in _FixAccountForLostAndReturned, including
those where comments are added, such that it might behave strangely even with $borrower.

Renamed the internal subs with leading underscore, per convention.  Changed
the arguments to be scalars when only scalars are needed, not entire objects.
Added depth to WrongBranch message that includes Rightbranch.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-07-30 11:06:50 -04:00
..
data/db_schemas
db_dependent Allow LDAP test to bail if LDAP disabled. 2009-03-05 09:49:10 -06:00
lib bug 3435: AddReturn overhaul. 2009-07-30 11:06:50 -04:00
Amazon.t Move Amazon.pm to External/ directory 2009-03-27 17:23:49 -05:00
Barcodes_PrinterConfig.t
Bookfund.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Bookseller.t
Boolean.t
Branch.t
Calendar.t
Charset.t
Circulation_barcodedecode.t barcodedecode() did not always return barcode 2009-01-05 15:55:14 -06:00
database_dependent.pl
Dates.t Bug 2842: ->regexp('syspref') failed for users of iso dateformat. 2009-01-06 20:24:46 -06:00
Debug.t
dummy.t
Input.t
Koha.t
Labels_split_ddcn.t Bug 2500 Tweaking DDCN Split for Hyphenated Volumn Numbers 2009-05-27 10:45:36 -05:00
Labels_split_lccn.t Test for LCCN splitting. 2009-03-11 08:37:27 -05:00
Languages.t
Maintainance.t
Makefile Bug 2524: improving the submitted test reports 2008-08-18 07:17:34 -05:00
Members_Attributes.t Allow option to preserve Extended Attributes on patron import update. 2009-05-28 06:50:39 -05:00
Output.t
Record.t
Review.t
rewrite-config-test.PL
Scrubber.t Single slash added in test text string. 2008-05-29 06:22:50 -05:00
smolder_smoke_signal Bug 2524: Adding script to submit test reports to smolder server 2008-08-18 07:16:35 -05:00
Stats.t