Umlaute (äüö) in field creator create damaged mediapackage

Steps to reproduce

This bug has 2 manifestations somehow depending if you use an MySQL DB or only the build in database

Steps to reproduce:
1. Upload a video use umlaute "äöü" or probably other non ASCII characters in the "presenter" field.
2. The video gets uploaded the confirmation screen contains the right presenter name.

With internal database: the umlaute in the presenter name are replaced by "?" AFTER the initialising step. During INITALIZING the Presenter name is still correct. The processed video is not playable.

With the MySQL database the Job gets stuck in INITALIZING and I get the error message in the code snippet.


Greg Logan
September 13, 2013, 9:25 PM

I spent the day looking at this, and it appears to me now that the title and presenter are ok, right up until they're put over the network as part of the Job dispatch. But that code hasn't changed between 1.4.0 and 1.4.x...

Lukas Rohner
September 17, 2013, 3:34 PM

After a short look to the job dispatcher it may help to set the encoding of the UrlEncodedFormEntity to 'UTF-8', it's just a guess: ServiceRegistryJpaImpl:1864
Can someone try it? I don't have time this week.

String jobXml = JobParser.toXml(jpaJob);
List<BasicNameValuePair> params = new ArrayList<BasicNameValuePair>();
params.add(new BasicNameValuePair("job", jobXml));
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params, "UTF-8");

Greg Logan
September 17, 2013, 10:33 PM

Committed Lukas' fix into trunk with rev 15740. I'm going to take another look either tomorrow or Thursday and see if the remote implementations need this as well.

Greg Logan
September 17, 2013, 11:01 PM

Confirmed to work in 1.4.x. Merged in with rev 15741 (as a separate patch, d'oh).

Stephen Marquard
March 11, 2016, 11:12 AM
Fixed and reviewed


Lukas Rohner


Rüdiger Rolf


Data Loss/Corruption

Tags (folksonomy)



Fix versions

Affects versions