[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
Thu Jul 27 12:13:39 CEST 2023


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

--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Marcel de Rooy from comment #7)
> To provide a bit more context, the "Inconsistent hierarchy during C3 merge
> of class" error refers to method resolution order / C3 algorithm and might
> be caused by e.g. 'use parent' that adds a class twice in @ISA.
> I did not see parent here, but base. So should be fine?
> But looking at Mojo/Base, I do see some mangling of @ISA in there.
> At perlmonks someone suggested to clear @ISA at some point.
> Not sure how to proceed..

It's not failing on Koha/REST/V1/ERM/Agreements.pm but the packages or titles
packages.

The error appears with only
    Koha/REST/V1/ERM/EHoldings/Packages.pm
    Koha/REST/V1/ERM/EHoldings/Packages/Local.pm


Koha/REST/V1/ERM/EHoldings/Packages.pm
use Mojo::Base 'Mojolicious::Controller';
use Koha::REST::V1::ERM::EHoldings::Packages::Local;
use Koha::REST::V1::ERM::EHoldings::Packages::EBSCO;

Koha/REST/V1/ERM/EHoldings/Packages/Local.pm
use Mojo::Base 'Mojolicious::Controller';

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


More information about the Koha-bugs mailing list