Univention Bugzilla – Bug 45768
(4.1/7.8.2) OX listener must decode strings to unicode for sqlite
Last modified: 2018-04-12 10:24:42 CEST
There will be otherwise: sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Git commits were cherry-picked from 4.2 branch: commit 39f7a4112b84a4afdb6baba928d40c308cb1a061 Bug #45769: decode strings to unicode for sqlite (cherry picked from commit fff0b34) univention-ox (8.1.4-1)
A bug was fixed and backported from 4.2: commit 79c6dbf97032cb1e7b5f875894d3501b5b829b8d Bug #45768: list comprehension empties list (cherry picked from commit 86f1628) commit cdb44abfc088cc1259e5b9bd6cb5a05c74cba742 Bug #45768: don't use unicode for SQL command, only for arguments (cherry picked from commit 51d8185) commit 759cdad5d5bf21b5ed53b5413aa193d41402e488 Bug #45768: enhance mypy annotations (cherry picked from commit 6c0c14f) commit 48aa23c3f3d4d39560102d1383f377c3bea456a6 Bug #45768: changelog commit 66585db4ecb476af53c1f3c03b91c86e6c683590 Bug #45768: advisory update univention-ox (8.1.4-2)
→ NO QA → RESOLVED → CLOSED This issue has been filed against UCS 4.1. UCS 4.1 and OX 7.8.2 is out of maintenance and many UCS and OX components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS/OX versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.