[Koha-bugs] [Bug 35289] New: addbiblio.pl calls generate_subfield_form with inconsistent parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 8 14:58:45 CET 2023


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

            Bug ID: 35289
           Summary: addbiblio.pl calls generate_subfield_form with
                    inconsistent parameters
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: koha at trust-box.at
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

in addbiblio.pl
 $biblio_form_builder->generate_subfield_form

is called 4 times(!) three of them are missing (at least) the following 3
paramters

op => scalar $input->param('op'),
changed_framework => scalar $input->param('changed_framework'),
breedingid => scalar $input->param('breedingid'),

this means that "ApplyFrameworkDefaults" (see
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35288
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33669)

only works for tags smaller then 10.

If this is intentionel its done rather weirdly

fix follows

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