https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15248

--- Comment #67 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208925
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208925&action=edit
Bug 15248: (RM follow-up) Load Koha::BiblioFrameworkMarcMatchers in
Koha::BiblioFramework

Koha::BiblioFramework->delete calls Koha::BiblioFrameworkMarcMatchers->find
but never loaded the class. It only worked when something else (C4::Search)
had already loaded it, so deleting a framework from a script or test that
only uses Koha::BiblioFrameworks died with:

  Can't locate object method "find" via package
  "Koha::BiblioFrameworkMarcMatchers"

This broke t/db_dependent/Koha/BiblioFrameworks.t and
t/db_dependent/Template/Plugin/Frameworks.t.

Test plan:
1. prove t/db_dependent/Koha/BiblioFrameworks.t \
         t/db_dependent/Template/Plugin/Frameworks.t
=> SUCCESS: Tests pass

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to