Bug 35687

Summary: simplejson → json
Product: UCS Reporter: Philipp Hahn <hahn>
Component: GeneralAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Julia Bremer <bremer>
Severity: enhancement    
Priority: P5 CC: best, bremer, gohmann
Version: UCS 4.4   
Target Milestone: UCS 4.4-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=25112
What kind of report is it?: Development Internal What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Cleanup
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 49053    

Description Philipp Hahn univentionstaff 2014-08-22 08:51:29 CEST
Since 2.6 Python has a built-in "json" module, no need to use the external "simplejson".
We should cleanup our source and convert from "simplejson" to "json".
<https://docs.python.org/2.6/library/json.html>
Comment 1 Florian Best univentionstaff 2014-08-22 08:53:35 CEST
I somewhere created a bug which already suggests this for UMC. because simplejson is broken code (encoding things, str/unicode mixes).
Comment 2 Florian Best univentionstaff 2019-03-13 14:00:32 CET
base/univention-system-activation/debian/control: python-simplejson,
base/univention-system-setup/debian/control: python-simplejson,
management/univention-management-console/src/univention/management/console/protocol/message.py:»   import simplejson as json

The last dependency of it is in univention-system-setup while the UMC still uses it.
Comment 3 Florian Best univentionstaff 2019-03-14 08:25:50 CET
The last use/dependencies of simplejson have been removed.

univention-system-activation (4.0.0-2)
426f19abb1f6 | Bug #35687: replace simplejson with json

univention-management-console (11.0.4-7)
70df97a76a80 | Bug #35687: replace simplejson with json

univention-system-setup (12.0.2-4)
8d7e3e5c3585 | Bug #35687: replace simplejson with json
Comment 4 Julia Bremer univentionstaff 2019-03-14 11:03:56 CET
Verified

Code-Review OK, minimal changes were made
Comment 6 Florian Best univentionstaff 2019-03-27 14:08:12 CET
*** Bug 49053 has been marked as a duplicate of this bug. ***