Planet Midgard: Archive
2006-06-30 - 2006-07-30
Support your local deathmonkeys
Posted on 2006-07-01 19:09:14 GMT.
Today in the morning I got to watch the 36th chamber of Shaolin in relative peace until the boys started to find bugs in the SMS location report system for their trip.
First one was charset problem, the import did not check the charset of the incoming city name and thus LATIN-1 (sms) vs UTF-8 (server) lead to not finding locations with accented characters, also I imported the rest of the swedish locations from Geo-Names (Bergie had used some sort of population filter in his previous import).
Second one manifested as failed deletions but was in fact much more fundamental, the location report runs in midcom-exec, however Bergie had failed to 1. specify domain on request_sudo (required when in exec) 2. check the result (though I admit I also often forget to check the result of request_sudo). Fixed by specifying the domain and added some sanity checks.
Incidentally the Mail_Mime issue from yesterday, was found due to them as well.
