https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16994 --- Comment #17 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 197700 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197700&action=edit Bug 16994: (QA follow-up) Align overwrite result key across module, template and tests The import result hash key was inconsistent: the module sets $result->{overwrote}, but the test checked $result->{overwrite} and the template wrapper used import_overwrite. The uninitialized key also triggered a "Use of uninitialized value" warning when no templates were overwritten. - Initialize overwrote => 0 in ImportModificationTemplates result hash - Update test to check $result->{overwrote} - Fix template success-alert wrapper to gate on import_overwrote Test plan: - prove t/db_dependent/MarcModificationTemplates.t - all 134 subtests pass Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.