Univention Bugzilla – Bug 49519
UMC call to list all exams
Last modified: 2019-05-29 14:04:50 CEST
Create a UMC call to list all exams.
A UMC call was created that returns a list of all exams: # umc-client -U Administrator -P univention COMMAND schoolexam/query 21.05.19 17:06:56.522 DEBUG_INIT Response: COMMAND data length : 391 message length: 317 --- ARGUMENTS: schoolexam/query MIMETYPE : application/json STATUS : 200 MESSAGE : None RESULT : [{u'files': 1, u'sender': u'Administrator', u'name': u'foo', u'recipients': [u'exam-demo_student'], u'isDistributed': True, u'starttime': u'16:41', u'room': u'DEMOSCHOOL-raum2'}] [4.4] 1a727a8f6 Bug #49519: add 'query' UMC call to get all exams [4.4] ec03d9d6a Bug #49519: use super(), Python 3 compatibility [4.4] 39592a745 Bug #49519: advisory [4.4] 2468928b7 Bug #49519: fix typo [4.4] 215248585 Bug #49519: advisory update ucs-school-umc-distribution (17.0.1-4) ucs-school-umc-exam (9.0.1-2)
Please allow the use of the options pattern and filter as in distribution/query so this UMC command is also prepared for the exam overview grid. pattern => matches name filter => all or private
[4.4 45bfcd39a] Bug #49519: support filtering and return startdate with day ucs-school-umc-exam (9.0.1-3)
Changelog and Advisory: OK Package installs: OK Pattern and filter work, UMC call works in general. All discussed information are present. Code changes for python3 seem to be fine and without side effects.
UCS@school 4.4 v2 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v2-de.html If this error occurs again, please clone this bug.