Koha/t/db_dependent
Galen Charlton 11606693ef Bug 10949: restore ability to successfully print hold slips
This fixes a regression introduced by the patch for bug
9394 -- when printing a hold slip using the 'print and confirm'
button, the slip would contain only the text 'reserve not found',
not a full hold slip.

This patch also adds a regression test.

To test:

[1] Check in an item that would fill a hold.  Use the 'print
    and confirm button' to confirm the hold.
[2] The printout will only contain text to the effect of
    'reserve not found'.
[3] Apply the patch.
[4] Repeat step 1.  This time, a full hold slip should be printed.
[5] Verify that prove -v t/db_dependent/Reserves.t passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Pass all tests, new and old, and QA script.
Verified wrong and corrected behaviour.

Note: Sometimes there will not be the message 'reserve not found'
showing up, but hold information for a different record. This happens
when there exists a reserve_id with the borrowernumber of the patron
in question in your database.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-02 14:38:30 +00:00
..
Acquisition Bug 5349: Use DB transaction/rollback in unit tests 2013-09-08 22:38:28 +00:00
Circulation Bug 10599: (follow-up) fix incomplete test case 2013-09-18 16:56:23 +00:00
data/zebraexport
Labels Bug 10333: Labels/t_Batch.t needs to create its own data 2013-09-08 02:07:19 +00:00
LDAP
Members
Record
Reports
www
00-strict.t
Accounts.t
Acquisition.t
Amazon.t
Auth.t
Auth_ParseSearchHistoryCookie.t
Auth_with_cas.t
AuthoritiesMarc.t
BackgroundJob.t Bug 10601: (follow-up) unit tests for new ->set() and ->get() 2013-09-18 17:21:47 +00:00
Barcodes.t
Biblio.t
Bookseller.t Bug 10640: (follow-up) bump up the number of expected tests in Bookseller.t 2013-09-08 20:37:19 +00:00
Branch.t Bug 10508: (follow-up) remove Perl 5.14 construct 2013-08-28 14:24:34 +00:00
Budgets.t
check_sysprefs.t
Circulation.t Bug 7639: (follow-up) add Unit Tests 2013-09-17 15:22:07 +00:00
Circulation_Issuingrule.t Bug 10767: (follow-up) remove FIXME comments 2013-08-28 14:44:01 +00:00
Circulation_issuingrules.t
Circulation_OfflineOperation.t Bug 10710: (follow-up) perltidy new code 2013-08-28 14:52:43 +00:00
Circulation_transfers.t Bug 10699: add explicit return value for DeleteBranchTransferLimits() 2013-08-28 15:23:51 +00:00
ClassSource.t
Context.t
CourseReserves.t
Csv.t
External_BakerTaylor.t
Heading_MARC21.t
Holds.t
HoldsQueue.t Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
Holidays.t
ILSDI_Services.t Bug 10667: (follow-up) fix reference to UT library in test case 2013-09-16 19:22:22 +00:00
Items.t Bug 10872: UT for GetHiddenItemnumbers and POD fix 2013-09-18 15:55:46 +00:00
KitchenSinkPlugin.kpz
Koha.t Bug 10656: add regression test 2013-09-06 16:47:30 +00:00
Koha_Authority.t
Koha_borrower_modifications.t
Koha_template_plugin_KohaBranchName.t
Koha_template_plugin_KohaDates.t
Linker_FirstMatch.t
Log.t
Members.t
Members_columns.t
Plugins.t
Ratings.t
Record.t
RecordProcessor_EmbedSeeFromHeadings.t
Reports.t
Reports_Guided.t
ReportsGuided.t
Reserves.t Bug 10949: restore ability to successfully print hold slips 2013-10-02 14:38:30 +00:00
rollingloans.t
RotatingCollections.t
Search.t Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
Search_SearchHistory.t Bug 10361: (follow-up) add tests for search history functions 2013-09-04 14:22:50 +00:00
Serials.t
Serials_2.t
Service.t
SIP_ILS.t
SQLHelper.t
SuggestionEngine_ExplodedTerms.t
Suggestions.t
sysprefs.t Bug 10325: (follow-up) add test for overriding system preferences 2013-09-08 02:28:45 +00:00
Tags.t
UploadedFile.t
VirtualShelves.t
VirtualShelves_Page.t
XISBN.t Bug 10539: Followup for removing KohaTest unit tests 2013-09-05 15:06:05 +00:00
zebra_config.pl