Bug 51200 - remove univention.debug.function from Univention code
remove univention.debug.function from Univention code
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: univention-debug
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Arvid Requate
:
: 51920 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-02 16:50 CEST by Daniel Tröder
Modified: 2022-04-28 15:59 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup, Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2020-05-02 16:50:23 CEST
+++ This bug was initially created as a clone of Bug #51193 +++
+++ This bug was initially created as a clone of Bug #48893 +++

The ud.function() is already marked as deprecated and will be removed for UCS-5 anyway, provides little to no value, is impossible to be configure right, and would simplify our transition to Python 3 by removing as much code now as possible.

1. Remove calls to univention.debug.function from all Univention code.
2. Raise a DeprecationWarning in ud.function() until UCS 5.0, where it will be removed completely, and remove the rest of the functions code.
Comment 1 Arvid Requate univentionstaff 2020-05-06 17:28:04 CEST
We should check if it doesn't still provide some use in S4-Connector tracing, or communicate other options to fellow developers and supporters.
Comment 2 Florian Best univentionstaff 2020-10-21 11:45:51 CEST
Removed all univention.debug.function calls:

univention-s4-connector (14.0.3-1)
univention-python (13.0.2-1)
univention-directory-manager-modules (15.0.3-7)
univention-ad-connector (14.0.1-2)
43faea5db048 | Bug #51200: remove use of univention.debug.function()

changelog-5.0-0.xml
9894293e9609 | Changelog Bug #51200
Comment 3 Arvid Requate univentionstaff 2020-11-04 21:38:31 CET
Ok.
Comment 4 Florian Best univentionstaff 2021-05-25 16:02:14 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".
Comment 5 Arvid Requate univentionstaff 2022-04-28 15:59:35 CEST
*** Bug 51920 has been marked as a duplicate of this bug. ***