Bug 35959 - udm-test encoding problem
udm-test encoding problem
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks: 8052
  Show dependency treegraph
 
Reported: 2014-09-18 13:08 CEST by Ammar Najjar
Modified: 2018-04-13 13:28 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
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
two log files compined - ou container with and without user (78.14 KB, text/x-log)
2014-09-18 13:08 CEST, Ammar Najjar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ammar Najjar univentionstaff 2014-09-18 13:08:54 CEST
Created attachment 6116 [details]
two log files compined - ou container with and without user

This bug appears when trying to:
 1- creating ou container with a name containing a special character e.g. 'tempöname'
 2- creating user inside that container.
 3- modifying the ou container with new name.

This will trigger the bug and return a traceback:
	Traceback (most recent call last):
	  File "06_container_ou_rename_with_special_characters", line 33, in
	<module>
		udm.modify_object('container/ou', dn = ou, name = ou_name_new)
	  File "/usr/lib/pymodules/python2.6/univention/testing/udm.py", line
	225, in modify_object
		raise UCSTestUDM_ModifyUDMObjectFailed({'module': modulename,
	'kwargs': kwargs, 'returncode': child.returncode, 'stdout': stdout,
	'stderr': stderr})
	univention.testing.udm.UCSTestUDM_ModifyUDMObjectFailed: {'returncode':
	3, 'stdout': 'E: object not found\n', 'stderr': '', 'module':
	'container/ou', 'kwargs': {'dn':
	'ou=temp\xc3\xb6name,dc=najjar,dc=local', 'name':
	'\xc3\xa2]\xe1\xba\x91\xe1\xba\x91\xc3\xb4@{\xc3\x9f&5'}}

In ldap every thing is fine and objects are in place and modified correctly.

In the attached file "directory-manager-cmd.log" there are two compine log files for two cases:
 ou container with a user.
 ou container without a user.

Test scripts that already trigger the bug: 
/usr/share/ucs-test/63_udm-containers/06_container_ou_rename_with_special_characters
/usr/share/ucs-test/63_udm-containers/07_container_ou_rename_uppercase_with_special_characters
Comment 1 Ammar Najjar univentionstaff 2014-09-26 11:15:01 CEST
for trigger scripts see Bug #8052.
Comment 2 Florian Best univentionstaff 2017-04-24 14:44:35 CEST
I fixed these tests during UCS 4.2.