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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to