[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:09:58 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35133
Phan Tung Bui <phan-tung.bui at inlibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #160777|0 |1
is obsolete| |
--- Comment #7 from Phan Tung Bui <phan-tung.bui at inlibro.com> ---
Created attachment 160778
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160778&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>
Signed-off-by: Phan Tung Bui <phan-tung.bui at inlibro.com>
Phan Tung Bui
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list