Skip Menu |

This queue is for tickets about the Minion-Backend-mysql CPAN distribution.

Report information
The Basics
Id: 108931
Status: resolved
Priority: 0/
Queue: Minion-Backend-mysql

People
Owner: Nobody in particular
Requestors: NALOBIN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bad JSON processing
After reading unicode job data from db, worker fails with an error: [Sat Nov 14 22:44:57 2015] [fatal] Worker error: Input is not UTF-8 encoded at /usr/local/share/perl/5.18.2/Minion/Backend/mysql.pm line 269. This is due to decode_json is expecting UTF-8 bytes on input. But instead it gets character string, which should be processed with Mojo::JSON::from_json.
Or you can use decode_json, but have to store json fields `args` and `results` as BLOBs (not TEXT).
On Sun Nov 15 01:25:00 2015, NALOBIN wrote: Show quoted text
This also has been merged to master and will be released as v0.07. Thanks for the patch!