Univention Bugzilla – Bug 41408
70_users_module: unexpected return values by UMC user wizard backend
Last modified: 2016-09-30 12:26:43 CEST
http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20%28R2%29%20Singleserver/lastCompletedBuild/SambaVersion=s3/testReport/90_ucsschool/70_users_module/test/ essential.user.GetCheckFail: Failed get request for user e07epjcm8j. Returned result: {u'$dn$': 'uid=e07epjcm8j,cn=schueler,cn=users,ou=iuaguly2husc,dc=autotest200,dc=local', 'birthday': None, 'disabled': 'none', 'display_name': 'z54v02le8t uhlvg9azsd', 'email': None, 'firstname': 'z54v02le8t', 'lastname': 'uhlvg9azsd', 'name': 'e07epjcm8j', 'objectType': 'users/user', 'password': None, 'record_uid': None, 'school': 'iuaguly2husc', 'school_class': 'aykhg8otbf', 'schools': [u'iuaguly2husc'], 'source_uid': None, 'type': 'student', 'type_name': 'Sch\xfcler', } {'$dn$': 'uid=e07epjcm8j,cn=schueler,cn=users,ou=iuaguly2husc,dc=autotest200,dc=local', 'birthday': None, 'disabled': 'none', 'display_name': 'z54v02le8t uhlvg9azsd', 'email': None, 'firstname': 'z54v02le8t', 'lastname': 'uhlvg9azsd', 'name': 'e07epjcm8j', 'objectType': 'users/user', 'password': None, 'school': 'iuaguly2husc', 'school_class': 'aykhg8otbf', 'type': 'student', 'type_name': 'Sch\xfcler', } The new properties "record_uid" and "source_uid" were not covered by the test script yet. 'school' now returns a list of OUs. Fixed these issues in 90_ucsschool/70_users_module. Additionally "school_class" should return a dictionary school-->classes. This is currently not the case, but in accordance with Florian, the ucs-test script has already been altered accordingly: 'school_class': {'iuaguly2husc': ['aykhg8otbf']},
ucs-test-ucsschool (3.0.5-33): r69710 | Bug #41408: updated script 70_users_module due to changes for import tools and ou-overlapping users
(In reply to Sönke Schwardt-Krummrich from comment #1) > ucs-test-ucsschool (3.0.5-33): > r69710 | Bug #41408: updated script 70_users_module due to changes for > import tools and ou-overlapping users This was not complete. r69758 | Bug #41408: fixup svn r69710 I will see if the change is possible as we have a lot code using the current format: $ git grep school_class $(find -name '*.py') | wc -l 85
Format and test adjusted: ucs-test-ucsschool (3.0.6-6): r69882 | Bug #41408: adjust tests for school_class → school_classes API change r69805 | Bug #41408: source_id and record_id has been moved into ImportUser r69759 | Bug #41408: fixup svn r69710
interim version - no changelog.
OK: code change OK: functional test → VERIFIED
UCS@school 4.1 R2 has been released: http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf If this error occurs again, please use "Clone This Bug".