Koha-clms/t/db_dependent/Circulation
Nick Clemens 1b2eedbea9 Bug 26078: Prevent generating a new transfer from return policy when resolving a transfer
To test:
- Have 2+ branches
- Set your default return policy to Item returns to issuing library
- Find an item with holding branch of Branch A
- Set your library to Branch B
- Check item in
- Koha generates a transfer to Branch A. In doing so, it sets the item holding branch to Branch B
- Set your library to Branch A
- Check item in
- Koha generate a transfer to Branch B. In doing so, it sets the item holding branch to Branch A
- Set you library to Branch A
- Check the item in
 . . . Repeat indefinitely.
 Apply patch
 Repeat
 No more loop

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4767112320)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 8bd9c4b4fd)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
2020-09-09 16:00:22 +12:00
..
IssuingRules Bug 24138: Fix calculation of suspension days when a limit is set 2019-12-19 21:51:17 +00:00
Branch.t Bug 26078: Prevent generating a new transfer from return policy when resolving a transfer 2020-09-09 16:00:22 +12:00
CalcDateDue.t Bug 15260: Add unit tests 2019-10-31 11:52:44 +00:00
CalcFine.t Bug 18344: Add unit tests 2019-06-11 10:17:36 +01:00
CheckIfIssuedToPatron.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
CheckValidBarcode.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
GetHardDueDate.t Bug 24408: Do not compare floats with precision in tests 2020-01-31 23:10:19 +00:00
GetPendingOnSiteCheckouts.t Bug 21133: Fix use statements order 2018-07-31 16:28:02 -03:00
GetTopIssues.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
IsItemIssued.t Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00
MarkIssueReturned.t Bug 24413: Add tests 2020-06-11 22:03:48 +00:00
NoIssuesChargeGuarantees.t Bug 24408: Do not compare floats with precision in tests 2020-01-31 23:10:19 +00:00
OfflineOperation.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
ReturnClaims.t Bug 14697: Add Koha::Patron->return_claims 2019-10-31 12:04:03 +00:00
Returns.t Bug 24441: Add tests 2020-02-06 22:52:47 +00:00
StoreLastBorrower.t Bug 14591: Update unit tests 2019-03-15 12:14:03 +00:00
SwitchOnSiteCheckouts.t Bug 18928: Update new occurrences 2019-07-01 14:57:10 +01:00
TooMany.t Bug 23404: Change UT calls 2019-09-09 11:14:15 +01:00
dateexpiry.t Bug 19943: Fix dateexpiry.t - create the biblioitem entry 2018-03-23 13:24:15 -03:00
issue.t Bug 25724: Unit tests 2020-07-31 03:14:40 +12:00
transferbook.t Bug 24901: Fix tests for 19.11.x 2020-04-15 16:48:30 +00:00
transfers.t Bug 23129: Unit test 2019-10-15 14:12:49 +01:00