Bug 42736 - udm.object(superordinate=ucsschool.lib.models.DHCPService)
udm.object(superordinate=ucsschool.lib.models.DHCPService)
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Florian Best
Daniel Tröder
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-24 12:21 CEST by Florian Best
Modified: 2016-11-10 16:00 CET (History)
2 users (show)

See Also:
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-10-24 12:21:39 CEST
The UCS@school lib passes a ucsschool.lib.models.dhcp.DHCPService as "superordinate" argument to UDM's handler while UDM expect a univention.admin.handlers-object.

This causes currently that the tests are failing due to changes in UDM (Bug #34764, #40649, #42177).
Comment 1 Florian Best univentionstaff 2016-10-24 13:18:33 CEST
ucs-school-lib (9.0.26-1):
r73483 | Bug #42736: Fix UDM superordinate handling

ucs-school-lib.yaml:
r73484 | YAML Bug #42736
Comment 2 Daniel Tröder univentionstaff 2016-10-24 13:38:03 CEST
OK: code
OK: manual tests
OK: automatic tests that failed before (90_ucsschool/35_import-computers_via_python_api, 90_ucsschool/101_exam_mode)
OK: advisory
Comment 3 Florian Best univentionstaff 2016-10-25 11:47:54 CEST
r73483 contained wrong code and caused failing:
http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20(R2)%20Multiserver/281/SambaVersion=s4-only-master/testReport/90_ucsschool/30_import-create_ou_via_python_api/test/

ucs-school-lib (9.0.27-1):
r73535 | Bug #42736: Fix UDM superordinate handling
Comment 4 Daniel Tröder univentionstaff 2016-11-02 16:15:03 CET
OK: automated tests 30_import-create_ou_via_cli and 30_import-create_ou_via_python_api pass
r74026: added build number to advisory
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2016-11-10 16:00:45 CET
UCS@school 4.1 R2 v7 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v7-de.html

If this error occurs again, please clone this bug.