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

Posting pour to kegbot server failed due to bad user name. #336

Closed
brobzilla opened this issue May 20, 2015 · 1 comment
Closed

Posting pour to kegbot server failed due to bad user name. #336

brobzilla opened this issue May 20, 2015 · 1 comment
Milestone

Comments

@brobzilla
Copy link

Just implemented our system and every user had succesful pours except for a user who had a .(period) in his user name (i.e. first.last). This happened with both of his pours. I wasn't sure if the android app messed up the name or if the server didn't' allow the user name with period.

May 20, 2015, 1:30 a.m. (pykeg.web.api.util) BadRequestError: {'username': [u'Enter a valid value.']}
Traceback (most recent call last):
  File "/data/kb/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 "/data/kb/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/data/kb/local/lib/python2.7/site-packages/pykeg/web/api/views.py", line 537, in tap_detail
    return _tap_detail_post(request, tap)
  File "/data/kb/local/lib/python2.7/site-packages/pykeg/web/api/views.py", line 60, in wrapped_view
    return view_func(*args, **kwargs)
  File "/data/kb/local/lib/python2.7/site-packages/pykeg/web/api/views.py", line 648, in _tap_detail_post
    raise kbapi.BadRequestError, _form_errors(form)
BadRequestError: {'username': [u'Enter a valid value.']}
mik3y added a commit that referenced this issue Jun 25, 2017
bugfix: fix #336: usernames with dot rejected by api.
@mik3y mik3y added this to the v1.3 milestone Jun 25, 2017
@mik3y
Copy link
Member

mik3y commented Jun 25, 2017

Stale issue - but this is now fixed! Cheers.

@mik3y mik3y closed this as completed Jun 25, 2017
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