[Koha-bugs] [Bug 19111] New: Do not mess with kohafield in authority_subfield_structure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 15 15:52:43 CEST 2017


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

            Bug ID: 19111
           Summary: Do not mess with kohafield in
                    authority_subfield_structure
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Please see also bug 10306 and dependencies.
In Koha we are using kohafield in auth_subfield_structure only for the link
between authid and 001, as well as authtypecode and 942a.
We do not have any further "kohafield functionality" as on the biblio side for
additional fields like title, author, etc. (There is no authority counterpart
for transform marc to koha, etc.)
Sub GetAuthMARCFromKohaField is only called a few times (once in
AuthoritiesMarc.pm and twice in authorities.pl). In e.g. SearchAuthorities,
GuessAuthid, AddAuthority, etc. 001 is hardcoded.

This actually means that you should really NEVER change the "kohafield" mapping
in the Subfield structure of Admin/Authority types for 001 and 942a. 
I would propose here to disable the kohafield for editing on the subfield
structure form (just as on bug 19096), and at least add some comments to
GetAuthMARCFromKohaField.

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


More information about the Koha-bugs mailing list