[Koha-bugs] [Bug 30015] New: Incomplete LEADER when creating new child record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 3 14:01:15 CET 2022


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

            Bug ID: 30015
           Summary: Incomplete LEADER when creating new child record
 Change sponsored?: ---
           Product: Koha
           Version: 21.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: mik at adminkuhn.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When displaying a bibliographic record in the normal view of the staff client,
the clicking "New > New child record" the LEADER will just contain the
following: "␣␣␣␣␣␣␣␣␣a␣␣␣␣␣␣␣␣␣␣␣␣␣␣" (I have replaced the space character by ␣
to make it visible). It stays the same when we click into the field. So when we
fill the rest of the required fields and save the record we will end up with a
record that is not properly linked to the parent record.

This is irritating since when just creating a "normal" (non-child) new record,
the LEADER is automatically filled with the correct content when clicking the
field resp. trying to save the record. This happens through plugin
"marc21_leader.pl".

However, when creating A new child record if we click the tag editor symbol at
the far right, the popup "000- Leader" opens and we can click "OK" which will
eventually result in the following LEADER content: "␣␣␣␣␣aaa␣a22␣␣␣␣␣␣␣␣4500".
This seems somehow cumbersome since we don't want to change anything there. It
would be desirable if this content would just appear when clicking the field
resp. trying to save the record as it does when just creating a "normal"
(non-child) record.

Seemingly the logic in the code seems to not consider that use case. As the
form is preloaded with that "a" character, it concludes no default filling
needs to be done.

-- 
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