-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor
-
None
Ainakin näistä kentistä pitää siivota ympäröivä whitespace pois, mahdollisesti kaikista sovelluksen merkkijonokentistä.
Internal Server Error: /desuprofile/oauth2/callback Traceback (most recent call last): File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch return handler(request, *args, **kwargs) File "/srv/www/kompassi.eu/app/desuprofile_integration/views.py", line 106, in get return self.respond_with_new_connection(request, next_url, desuprofile) File "/srv/www/kompassi.eu/app/desuprofile_integration/views.py", line 118, in respond_with_new_connection return self.respond_with_new_user(request, next_url, desuprofile) File "/srv/www/kompassi.eu/app/desuprofile_integration/views.py", line 180, in respond_with_new_user create_user(user, password) File "/srv/www/kompassi.eu/app/external_auth/utils.py", line 26, in create_user password=temporary_password, File "/srv/www/kompassi.eu/app/external_auth/ipa.py", line 62, in create_user userpassword=password, File "/srv/www/kompassi.eu/app/external_auth/ipa.py", line 114, in json_rpc raise IPAError(error) IPAError: {u'message': u"invalid 'first': Leading and trailing spaces are not allowed", u'code': 3009, u'name': {u'__base64__': u'VmFsaWRhdGlvbkVycm9y'}}