[Koha-bugs] [Bug 30941] Add value builders for UNIMARC 146 ($b, $c, $d, $e and $f)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 19 14:54:29 CEST 2022


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

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 139488
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139488&action=edit
Bug 30941: (QA follow-up) Import methods explicitly

By explicitly importing the Koha::I18N methods, I get rid of this error:

kohadev-koha at kohadevbox:/kohadevbox/koha$ qa -c 2 --run-tests
testing 2 commit(s) (applied to 9b2bf04 '09 Bug 30507: Value builder for
field')

Processing files before patches
|========================>| 12 / 12 (100.00%)

An error occurred : Inconsistent hierarchy during C3 merge of class
'Koha::I18N':
        current merge results [
                Koha::I18N,
        ]
        merging failed on 'Exporter' at /kohadevbox/qa-test-tools/koha-qa.pl
line 112.

This happens because the Koha::I18N library is exporting all its methods
explicitly and, by design, the __ methods used in value builders cannot
determine which of the imported methods to use i.e. if Koha::I118N::__
or Koha::CodeList::Unimarc::MediumOfPerformance:__

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list