[Koha-bugs] [Bug 34339] $c->validation should be avoided (part 2)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 15:24:23 CEST 2023


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

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
The error can easily be recreated redoing what does the QA script

my @files = qw(
    Koha/REST/V1/ERM/Agreements.pm
    Koha/REST/V1/ERM/EHoldings/Titles/Local.pm
    Koha/REST/V1/ERM/EHoldings/Packages.pm
    Koha/REST/V1/ERM/Licenses.pm
    Koha/REST/V1/ERM/EHoldings/Titles/EBSCO.pm
    Koha/REST/V1/ERM/EHoldings/Packages/Local.pm
);

for my $file (@files) {
    next if $file !~ m|\.pm$|;
    my $module = $file;
    delete $INC{$module};
    $module =~ s|/|::|g;
    $module =~ s|\.pm$||;
    eval "require $module";
    $module->import;
}

This appears before and after the patch. Should not be blocker.

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


More information about the Koha-bugs mailing list