]> git.koha-community.org Git - koha.git/commit
Bug 35133: Don't lazily define accessor methods when invoked through SUPER
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Mon, 23 Oct 2023 15:49:06 +0000 (17:49 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 14:07:36 +0000 (15:07 +0100)
commit7054edf183dade99e6819b6c063dc34ccaf25a8c
treef8eb303c0b1c3d0a209b96d4114f1486f2829e10
parentc529e53b89eb2478d84254fcbf7dccee53a934e0
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@babel.inlibro.net>
Signed-off-by: Phan Tung Bui <phan-tung.bui@inlibro.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Object.pm