Univention Bugzilla – Bug 48323
Don't map the LDAP group description to the course_name
Last modified: 2020-11-10 16:02:09 CET
In courses.csv the description of a group (LDAP field description) is mapped to the CSV field "course_name". This causes e.g. Zuludesk to display the description as a group name.
Fixed in main branch (4.4). Tests were also adapted. Build will be done with Bug #48346. Please QA
Further information: course_name will now be mapped to the groups name without the school specific part. For example: SCHOOL1-1a will end up as course name 1a
QA -> All OK -> Reopen -> wait for build with Bug #48346 - changelog -> OK Code: - course.py -> OK - test modifications -> OK Test 02_model_course passes -> OK In [14]: AsmCourse.header Out[14]: (u'course_id', u'course_number', u'course_name', u'location_id') In [5]: got_course = course.as_csv_line() In [6]: got_course Out[6]: ['DEMOSCHOOL-demo_class2', 'DEMOSCHOOL-demo_class2', u'demo_class2', 'DEMOSCHOOL'] In [12]: got_workgroup = workgroup.as_csv_line() In [13]: got_workgroup Out[13]: ['DEMOSCHOOL-test-group', 'DEMOSCHOOL-test-group', u'test-group', 'DEMOSCHOOL']
Build and uploaded to TestAppCenter in version 2.2
tested with version 2.2 from TestAppCenter -> All OK -> VERIFY