Univention Bugzilla – Bug 57063
Hook for ox-contexts fails with ox-connector
Last modified: 2024-02-15 14:20:38 CET
After switching to the ox-connector the hook create_new_ox_contexts_kelvin.py fails with the following traceback 2024-02-14 11:41:41 ERROR [223][8b4705a805] While responding to PATCH http://mneme.univention-summit.de/ucsschool/kelvin/v1/users/adam.becher: 'UdmObjectProperties' object has no attribute 'hostname' AttributeError: 'UdmObjectProperties' object has no attribute 'hostname' the hook tries to read udm props from the default context to create a new context using the same values. the old integration: root@dn1:~# udm oxmail/oxcontext list DN: cn=context10,cn=open-xchange,dc=training,dc=ucs contextid: 10 hostname: dn1.training.ucs name: context10 oxDBServer: dn1.training.ucs oxQuota: 47413 oxadmindaemonversion: None oxgroupwareversion: None oxguiversion: None oxintegrationversion: 12.0.30A~5.0.0.202210111056 now: root@dn1:~# udm oxmail/oxcontext list DN: cn=context10,cn=open-xchange,dc=training,dc=ucs contextid: 10 name: context10 oxQuota: 39684 This should be fixed (backwards-compatible of course)