[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 Oct 25 14:21:37 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35133
David Gustafsson <glasklas at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #157678|0 |1
is obsolete| |
--- Comment #5 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 157793
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157793&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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list