Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError in plone.app.users caused by Umlauts in AD Group IDs #3

Open
pabo3000 opened this issue Apr 3, 2012 · 1 comment

Comments

@pabo3000
Copy link

pabo3000 commented Apr 3, 2012

Unfortunately Microsaft's AD allows Group Ids with Umlauts. plone.app.ldap has no strategy to deal with umlauts in group ids.

(Pdb) 2012-04-03 15:42:46 ERROR Zope.SiteErrorLog 1333460566.540.0499230695886 http://139.11.81.52:8080/plone/@@new-user
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
Module ZPublisher.Publish, line 46, in call_object
Module zope.formlib.form, line 795, in call
Module five.formlib.formbase, line 50, in update
Module zope.formlib.form, line 758, in update
Module zope.formlib.form, line 739, in setUpWidgets
Module zope.formlib.form, line 266, in setUpWidgets
Module zope.schema._field, line 408, in bind
Module zope.schema._field, line 291, in bind
Module Zope2.App.schema, line 33, in get
Module plone.app.users.browser.register, line 173, in getGroupIds
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)

@jmce
Copy link

jmce commented Aug 29, 2012

Also here https://bugs.launchpad.net/ldapuserfolder/+bug/898921 — I did as suggested, changing encoding to 'utf-8' in utils.py. But it seems it is considered a low importance issue there (why?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants