Koha-clms/t/db_dependent/Koha
Nick Clemens f7897d7d81
Bug 31460: Merge item groups when merging records
Test:
1. Have a record (A) with 3 items.
2. Create an item group with 2 of these items.
3. Have a second record (B) with 4 items
4. Create an item group with 2 of these items.
5. Merge the two records together keeping record A
6. Results will show that all items are moved over to record A, but the item group from record B, is not there.
7. Apply patch
8. Create a new record (C) with 3 items.
9. Create an item group with 2 of these items
10. Merge this into record A
11. The item groups are moved!

Signed-off-by: Miranda Nero <mnero@oslri.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-09-18 13:52:09 -06:00
..
Account Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Acquisition Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
Auth Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
BackgroundJob Bug 26869: Unit tests 2025-03-17 11:59:49 +01:00
BackgroundJobs Bug 39345: (QA follow-up): Add exception handling for unsupported counter release 2025-09-05 15:10:31 -06:00
Biblio Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Cash Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Charges Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
Checkouts Bug 38944: Correctly catch warnings raised by DBI 2025-03-13 17:25:05 +01:00
CirculationRules Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Club Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Config Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Database Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ERM Bug 39345: (QA follow-up): Fix QA complaints 2025-09-05 15:10:30 -06:00
Edifact Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Filter Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ILL Bug 39917: (QA follow-up) Correct spelling and remove <p> tag around form 2025-08-01 13:22:52 -06:00
Import Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Item Bug 32034: Add more tests 2025-04-25 18:35:03 +02:00
Items Bug 23010: More unit tests 2025-06-24 16:10:23 -06:00
Library Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Notice Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
OAI/Server Bug 39857: Regression tests 2025-05-09 09:12:04 +02:00
Object/Mixin Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Objects Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
Old Bug 40438: Remove warnings from Koha/Old/Hold.t 2025-07-18 11:09:57 -06:00
Patron Bug 22632: Prevent tests to fail randomly 2025-09-08 11:35:47 -06:00
Patrons Bug 40380: Remove warnings from Patrons/Import.t - Argument "" isn't numeric in numeric eq (==) 2025-07-18 11:09:49 -06:00
Plugins Bug 34978: Simplify tests logic 2025-08-14 16:05:58 -06:00
Policy Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Preservation Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
REST Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
SMTP Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
SearchEngine Bug 40381: Remove warning from Koha/SearchEngine/Elasticsearch/ExportConfig.t 2025-07-18 11:10:01 -06:00
Subscription Bug 39325: (follow-up) A few minor corrections 2025-04-28 18:51:29 +02:00
Tags Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Template/Plugin Bug 40018: Remove warnings from Koha/Template/Plugin/Koha.t 2025-06-06 09:41:16 -06:00
Ticket Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
UI/Form/Builder Bug 40003: Add a test 2025-06-06 09:41:17 -06:00
XSLT Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Z3950Responder Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Account.t Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
ActionLogs.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
AdditionalContents.t Bug 40020: Remove warnings from Koha/AdditionalContents.t 2025-06-06 09:41:14 -06:00
AdditionalField.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ApiKey.t Bug 38944: Correctly catch warnings raised by DBI 2025-03-13 17:25:05 +01:00
ArticleRequest.t Bug 39191: Add `format` parameter to Koha::Exceptions::ArticleRequest::WrongFormat 2025-04-23 09:35:20 +02:00
ArticleRequests.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Authorities.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Authority.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
BackgroundJob.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
BackgroundJobs.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Biblio.t Bug 31460: Merge item groups when merging records 2025-09-18 13:52:09 -06:00
BiblioFrameworks.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Biblios.t Bug 37651: Unit tests 2025-08-29 10:43:31 -06:00
Booking.t Bug 40665: Add tests 2025-09-05 15:10:35 -06:00
Bookings.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Calendar.t Bug 40636: Add `Koha::Calendar->has_business_days_between()` method 2025-09-05 08:02:30 -06:00
Checkout.t Bug 40665: Add tests 2025-09-05 15:10:35 -06:00
Checkouts.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
CirculationRules.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Cities.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ClassSortRules.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ClassSources.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ClassSplitRules.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Course.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Courses.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
CoverImages.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
CsvProfiles.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
CurbsidePickups.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Database.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Desks.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
EDI.t Bug 40765: Fix EDI.t 2025-09-09 09:37:10 -06:00
Encryption.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-07-28 16:26:36 -06:00
Hold.t Bug 31698: Disallow moving waiting or intransit holds 2025-09-05 15:10:41 -06:00
Holds.t Bug 15516: Allow to reserve first available item from a group of titles 2025-09-03 11:42:00 -06:00
Installer.t Bug 40437: Remove warning from Koha/Installer.t 2025-07-18 11:09:57 -06:00
Item.t Bug 40331: Return existing transfer if requesting a new transfer that is identical 2025-09-03 11:41:58 -06:00
ItemTypes.t Bug 20644: Add checkprevcheckout on item types 2025-08-20 13:42:58 -06:00
Items.t Bug 37334: Add search tests 2025-05-15 08:34:13 +02:00
KeyboardShortcuts.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Libraries.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Library.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
MarcOrder.t Bug 39752: (QA follow-up) Unit test 2025-04-29 17:19:30 +02:00
MarcSubfieldStructures.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Notice_Util.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Notices.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
OAIHarvester.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
OAIServers.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Object.t Bug 38944: Fix for Mysql8 2025-05-06 18:48:15 +02:00
Objects.t Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
Old.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Patron.t Bug 40608: (QA follow-up) Delete notice in test, adjust about.tt 2025-08-13 13:39:49 -06:00
Patron_generate_userid.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Patrons.t Bug 40275: Unit tests 2025-09-03 14:00:45 -06:00
Pseudonymization.t Bug 37901: Add Tests 2025-08-20 13:43:26 -06:00
PseudonymizedTransaction.t Bug 39652: Rename new_from_statistic 2025-04-24 19:53:17 +02:00
Quotes.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Ratings.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Recall.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Recalls.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
RecordSource.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Reports.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Reviews.t Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
SMS_Providers.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
SearchField.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
SearchFilters.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Session.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
SharedContent.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Statistic.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Statistics.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Subscription.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Suggestion.t Bug 33430: Add strings_map method 2025-05-19 18:54:20 +02:00
Suggestions.t Bug 38944: Correctly catch warnings raised by DBI 2025-03-13 17:25:05 +01:00
Tags.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Ticket.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Virtualshelf.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Virtualshelves.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Z3950Servers.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00