Bug 23152: Implement koha_object[s]_class when needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 19 Jun 2019 02:42:07 +0000 (21:42 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 15:36:57 +0000 (16:36 +0100)
commita60a6f40c3e25753c7474c4ff20f28e71353c351
tree5dcb58e632e02a1f468970c81ca47544dbbd759c
parentb6dc26e93d9d0170c9980291a0f217adcc429e6a
Bug 23152: Implement koha_object[s]_class when needed

A simple use case is the ->get_from_storage (useful when writing tests)

Test plan:
Apply only the first patch and notice the test failures
Apply the second patch and confirm the the tests are returning green

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
65 files changed:
Koha/Schema/Result/AccountOffset.pm
Koha/Schema/Result/Aqbasket.pm
Koha/Schema/Result/Aqbasketgroup.pm
Koha/Schema/Result/Aqbookseller.pm
Koha/Schema/Result/Aqbudget.pm
Koha/Schema/Result/Aqbudgetperiod.pm
Koha/Schema/Result/Aqcontact.pm
Koha/Schema/Result/Aqinvoice.pm
Koha/Schema/Result/AqinvoiceAdjustment.pm
Koha/Schema/Result/AuthHeader.pm
Koha/Schema/Result/AuthSubfieldStructure.pm
Koha/Schema/Result/AuthTagStructure.pm
Koha/Schema/Result/AuthType.pm
Koha/Schema/Result/BiblioMetadata.pm
Koha/Schema/Result/BorrowerAttribute.pm
Koha/Schema/Result/BorrowerAttributeType.pm
Koha/Schema/Result/BorrowerModification.pm
Koha/Schema/Result/Branch.pm
Koha/Schema/Result/BranchTransferLimit.pm
Koha/Schema/Result/BranchesOverdrive.pm
Koha/Schema/Result/Branchtransfer.pm
Koha/Schema/Result/Category.pm
Koha/Schema/Result/ClubEnrollment.pm
Koha/Schema/Result/ClubEnrollmentField.pm
Koha/Schema/Result/ClubField.pm
Koha/Schema/Result/ClubTemplate.pm
Koha/Schema/Result/ClubTemplateEnrollmentField.pm
Koha/Schema/Result/ClubTemplateField.pm
Koha/Schema/Result/Currency.pm
Koha/Schema/Result/ExportFormat.pm
Koha/Schema/Result/Fieldmapping.pm
Koha/Schema/Result/HouseboundProfile.pm
Koha/Schema/Result/HouseboundRole.pm
Koha/Schema/Result/HouseboundVisit.pm
Koha/Schema/Result/Issue.pm
Koha/Schema/Result/Issuingrule.pm
Koha/Schema/Result/Itemtype.pm
Koha/Schema/Result/Letter.pm
Koha/Schema/Result/LibraryGroup.pm
Koha/Schema/Result/Message.pm
Koha/Schema/Result/MessageQueue.pm
Koha/Schema/Result/NeedMergeAuthority.pm
Koha/Schema/Result/OauthAccessToken.pm
Koha/Schema/Result/OldIssue.pm
Koha/Schema/Result/OldReserve.pm
Koha/Schema/Result/OpacNews.pm
Koha/Schema/Result/PatronConsent.pm
Koha/Schema/Result/Patronimage.pm
Koha/Schema/Result/Reserve.pm
Koha/Schema/Result/SavedSql.pm
Koha/Schema/Result/Serialitem.pm
Koha/Schema/Result/SmsProvider.pm
Koha/Schema/Result/Stockrotationitem.pm
Koha/Schema/Result/Stockrotationrota.pm
Koha/Schema/Result/Stockrotationstage.pm
Koha/Schema/Result/SubscriptionFrequency.pm
Koha/Schema/Result/SubscriptionNumberpattern.pm
Koha/Schema/Result/Subscriptionhistory.pm
Koha/Schema/Result/Subscriptionroutinglist.pm
Koha/Schema/Result/Systempreference.pm
Koha/Schema/Result/TagAll.pm
Koha/Schema/Result/TagsApproval.pm
Koha/Schema/Result/TagsIndex.pm
Koha/Schema/Result/Virtualshelve.pm
Koha/Schema/Result/Z3950server.pm