Univention Bugzilla – Bug 43389
UCS@school: enhance UMCConnection
Last modified: 2017-04-11 17:45:40 CEST
Created attachment 8361 [details] patch Fixes for UMCConnection in UCS@school. The UCS 4.2 branch doesn't exists yet, so here is a patch. +++ This bug was initially created as a clone of Bug #34498 +++ For a test case it was necessary to get the result of a UMCP request which does not return JSON (instead returns a PDF file). With the current API this is not possible because the response mimetype is not checked. JSON is always assumed. There is also no possibility to get the response headers which is necessary for the test script, too.
Use a copy of the current version in UCS@school Tests. ucs-test-ucsschool (3.0.17-48): r76032 | Bug #43389: use univention.lib.umc.Client r76031 | Bug #43389: use univention.lib.umc.Client
ucs-school-umc-installer (5.0.0-1): r76783 | Bug #43389: use univention.lib.umc.Client ucs-test-ucsschool (4.0.0-1): r76785 | Bug #43389: use univention.lib.umc.Client ucs-school-umc-exam (7.0.0-1): r76784 | Bug #43389: use univention.lib.umc.Client
*** Bug 43711 has been marked as a duplicate of this bug. ***
*** Bug 43718 has been marked as a duplicate of this bug. ***
Changes were done to UCS@school 4.1 R2 and UCS@school 4.2 v1. (In reply to Florian Best from comment #2) > ucs-school-umc-installer (5.0.0-1): OK: Package was extensively tested as part of QA for Bug #42905. > ucs-test-ucsschool (4.0.0-1): OK: Package ucs-test-ucsschool imports and auth() were migrated to new umc lib. OK: tested random samples of test suite > ucs-school-umc-exam (7.0.0-1): OK: manual test OK: automated tests: 11_squidguard_assign_rule_to_2_rooms 21_computerroom_module_base_checks 22_computerroom_module_settings 22_computerroom_test_printmode_ucr_variables 22_computerroom_time_settings 25_room_management_module 101_exam_mode 101_exam_mode_group_members 101_exam_mode_home_directories 101_exam_mode_settings
UCS@school 4.2 v1 has been released. http://docs.software-univention.de/release-notes-ucsschool-4.2v1-de.html If this error occurs again, please clone this bug.