[Koha-bugs] [Bug 30933] Add a designated owner for shared and public lists at patron deletion

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 13:16:33 CEST 2022


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

--- Comment #38 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
-        my $userenv = C4::Context->userenv;
-        return $userenv->{'number'} if $userenv;
Replaced by:
+                    $new_owner = C4::Context->userenv->{number};

Will open a new bug. Saw this already:
perl t/db_dependent/Koha/AdditionalContents.t
1..5
# Subtest: ->author
    1..3
    ok 1 - Koha::AdditionalContent->author returns a Koha::Patron object
    # Looks like you planned 3 tests but ran 1.
not ok 4 - ->author
#   Failed test '->author'
#   at t/db_dependent/Koha/AdditionalContents.t line 156.
{UNKNOWN}: Can't use an undefined value as a HASH reference at
/usr/share/koha/Koha/Virtualshelves.pm line 59. at
/usr/share/koha/Koha/Virtualshelves.pm line 73
# Looks like your test exited with 255 just after 4.

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


More information about the Koha-bugs mailing list