[Koha-bugs] [Bug 34989] New: Subscription cannot be added if a control field is set up in "Additional Fields" parameter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 5 11:26:49 CEST 2023


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

            Bug ID: 34989
           Summary: Subscription cannot be added if a control field is set
                    up in "Additional Fields" parameter
 Change sponsored?: ---
           Product: Koha
           Version: 23.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: anke.bruns at gwdg.de
        QA Contact: testopia at bugs.koha-community.org

Subscriptions can't be created because of an HTTP 500 and the following message
in the plack error log:

"Control fields (generally, just tags below 010) do not have subfields, use
data() at /usr/share/koha/lib/Koha/Object/Mixin/AdditionalFields.pm line 68."

The workaround by Joubu (many thanks!) in the Koha chat was to look whether in

Administration > Additional fields > Table 'subscription'
(/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription)

a MARC field was present that was a control field (ie. without $ field/subfield
separator). We indeed had a 001 configured there with MARC field mode "Get
value from MARC record" and Searchable=Yes

Removing this solved the problem, but perhaps subscriptions should also work if
a control field is configured in the place mentioned above?

Another thing is that we are not completely sure if the error was produced when
we upgraded from 22.05 or if it was present there as well with the additional
field set.

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