-
Kirill Smelkov authored
Because e.g. for the following instance parameters <?xml version='1.0' encoding='utf-8'?> <instance> <parameter id="text">Привет Мир!</parameter> </instance> we get the following DB query 'UPDATE %s SET slap_state="busy" ,software_release=? ,partition_reference=? ,requested_by=? ,software_type=? ,xml=? WHERE reference=? AND computer_reference=?', ['http://sr//', 'myinstance', 'slappart0', 'default', '<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<instance>\n <parameter id="text">\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82\xd0\x9c\xd0\xb8\xd1\x80!</parameter>\n</instance>\n', 'slappart6', 'computer'] which fails the following way: File ".../site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File ".../site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File ".../site-packages/flask/app.py", line 1381, in handle_u...
af7de08e