[Koha-bugs] [Bug 32143] New: backgrouns_jobs fails when special charset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 08:18:19 CET 2022


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

            Bug ID: 32143
           Summary: backgrouns_jobs fails when special charset
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: hagud at orex.es
        QA Contact: testopia at bugs.koha-community.org

We have realized that in koha 22.05 and probably newer koha versions, any
process that runs on background_jobs (specially batchitems= it fails if the
home branch name includes non english charset

example: 'í'
{"interface":"intranet","id":"Odigital","shibboleth":"0","desk_id":null,"branchname":"Enríquez
XXX - Universidad del
XXXX","desk_name":null,"cardnumber":"OREX_DIGITAL","flags":"1","number":"25055","register_name":null,"branch":"UNICARIBE","emailaddress":"","surname":"Digital","firstname":"Orex","register_id":null}

causes 500 error

On logs


worker-output.log:malformed UTF-8 character in JSON string, at character offset
212 (before "\x{fffd}ez ...") at /usr/share/koha/lib/Koha/BackgroundJob.pm line
170.

If we change the name and restart servicess (cache and plack) worka again.

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