Bug 48933 - univention-admin-diary-entry-create creates "null" entry when invoked without command line arguments
univention-admin-diary-entry-create creates "null" entry when invoked without...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Admin Diary
UCS 4.4
Other Linux
: P5 minor (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
Depends on: 48476
  Show dependency treegraph
Reported: 2019-03-09 13:48 CET by Philipp Hahn
Modified: 2019-03-09 13:50 CET (History)
1 user (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?: 4: Will affect most 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.137
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-03-09 13:48:14 CET
When /usr/bin/univention-admin-diary-entry-create in invoked without giving any command line argument, it simply prints a UUID and generated an entry in the backend named "null". Clicking on that entry does NOT open any detail page.

The command probably should do nothing if no message is provided. Make option "message" required?
(please read the "Note" from <https://docs.python.org/2/library/argparse.html#required>)