[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
Thu Jan 18 21:58:10 CET 2024


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

Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:

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

--- Comment #8 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Created attachment 161152
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161152&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>
Signed-off-by: Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov>

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


More information about the Koha-bugs mailing list