| Summary: | background_jobs fails when special charset | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Hugo Agud <hagud> |
| Component: | Tools | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | jonathan.druart |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
Please upgrade to 22.05.06 |
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.