3 ms·
This kind of bug gives me nightmares. I'm afraid to ask how long it took you to solve.
by tootie 5y ago
This kind of bug gives me nightmares. I'm afraid to ask how long it took you to solve.
- tomwojcik 5y ago2 days to identify and understand the problem because I wasn't able to reproduce at all, only on prod. Then ~1 day to fix but I've decided to handle not emojis per se, but unicode characters (which makes more sense but requires more knowledge) which was finished within the next 2 days. In the meantime I set up a test project with PostgreSQL, 3 MySQL databases and 2 MS SQL Server so all operations were executed on all 6 at once. The worst thing is Django won't raise an exception on max_length exceeded even with MS SQL because on the application level its length is 1, so only the DB (DataError on constraint created by Django) will complain.