[Koha-bugs] [Bug 35133] Accessors defined in AUTOLOAD does not work if called with SUPER

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 10 18:07:23 CET 2024


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

Matthias Le Gac <matthias.le-gac at inlibro.com> changed:

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

--- Comment #6 from Matthias Le Gac <matthias.le-gac at inlibro.com> ---
Created attachment 160777
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160777&action=edit
Bug 35133: Don't lazily define accessor methods when invoked through SUPER

To test:
  1) Apply Bug 32476
  2) Run tests in t/db_dependent/Patrons.t
  3) This should produce multiple "Subroutine Koha::Patron::SUPER::dateexpiry
redefined at ..." warnings
  4) Apply patch
  5) Run tests in t/db_dependent/Patrons.t again
  6) The warnings in 3) should now no longer appear

Signed-off-by: matthias le gac <matthias at babel.inlibro.net>

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


More information about the Koha-bugs mailing list