[Koha-bugs] [Bug 32781] CreateEHoldingsFromBiblios not dealing with non-existent package correcly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 10:21:39 CET 2023


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145959|0                           |1
        is obsolete|                            |

--- Comment #4 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 145992
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145992&action=edit
Bug 32781: Prevent import from list to fail if package does not exist

This is theorical (caught when writting tests) but we need to deal with
it.

Can't call method "resources" on an undefined value at
/kohadevbox/koha/Koha/BackgroundJob/CreateEHoldingsFromBiblios.pm line 94.

Test plan:
  prove t/db_dependent/Koha/BackgroundJob/CreateEHoldingsFromBiblios.t
must return green

Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list