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

            Bug ID: 41121
           Summary: Problem with OAI AutoUpdateSets during marc ordering
                    process
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

After enabling AutoUpdateSets for OAI we started seeing random failures when
the script tried to add orders to baskets:

{UNKNOWN}: Can't call method "items" on an undefined value at
/usr/share/koha/lib/Koha/Biblio/Metadata.pm line 233. at
/usr/share/koha/lib/C4/Biblio.pm line 318

We tracked it down to C4::OAI::Sets::UpdateOAISetsBiblio which received a null
biblionumber, but we couldn't determine why.

As a workaround we disabled the update of sets during ordering, and the problem
went away. Filing here in case someone else encounters this:
env "OVERRIDE_SYSPREF_OAI-PMH:AutoUpdateSets=0" perl
$KOHA_CRON_PATH/marc_ordering_process.pl

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to