[Koha-bugs] [Bug 32080] Public lists not available after recent upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 3 08:24:37 CET 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=29955
                 CC|                            |lucas at bywatersolutions.com

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Steven Nickerson from comment #0)
> [Mon Oct 24 17:44:39.651936 2022] [cgi:error] [pid 21984] [client
> x.x.x.x:56417] AH01215: Use of inherited AUTOLOAD for non-method
> Koha::Virtualshelf::haspermission() is deprecated at
> /usr/share/koha/lib/Koha/Virtualshelf.pm line 247.:
> /usr/share/koha/opac/cgi-bin/opac/opac-shelves.pl, referer:
> http://WEBSITE/cgi-bin/koha/opac-shelves.pl?op=list&public=1

    return 1
      if $self->is_public and haspermission( $patron->userid, { lists =>
'edit_public_lists' } );

This is corrected in master with:
    return 1
      if $self->is_public and C4::Auth::haspermission( $patron->userid, { lists
=> 'edit_public_lists' } );

Solved on Bug 29955: Fix method import issues
This fix should be backported.

Trying to catch the attention of the 22.05 RMaint: Lucas Gass.

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


More information about the Koha-bugs mailing list