ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #04769
[Bug 669909] Re: Attendee field needs sanity checks
** Changed in: loco-directory
Status: Confirmed => Fix Committed
** Changed in: loco-directory
Milestone: None => 0.3.6
--
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to LoCo Team Directory.
https://bugs.launchpad.net/bugs/669909
Title:
Attendee field needs sanity checks
Status in LoCo Team Directory:
Fix Committed
Bug description:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py", line 78, in __call__
return self.view_func(request, *args, **kwargs)
File "/srv/loco.ubuntu.com/loco_directory/events/views.py", line 316, in team_event_register
form.save()
File "/usr/lib/pymodules/python2.6/django/forms/models.py", line 407, in save
fail_message, commit, exclude=self._meta.exclude)
File "/usr/lib/pymodules/python2.6/django/forms/models.py", line 78, in save_instance
instance.save()
File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 410, in save
self.save_base(force_insert=force_insert, force_update=force_update)
File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 495, in save_base
result = manager._insert(values, return_id=update_pk)
File "/usr/lib/pymodules/python2.6/django/db/models/manager.py", line 177, in _insert
return insert_query(self.model, values, **kwargs)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 1087, in insert_query
return query.execute_sql(return_id)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/subqueries.py", line 320, in execute_sql
cursor = super(InsertQuery, self).execute_sql(None)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py", line 2369, in execute_sql
cursor.execute(sql, params)
DataError: smallint out of range
<ModPythonRequest
path:/events/team/530/register/,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'promise': [u'maybe'], u'guests': [u'8686458'], u'submit': [u'Submit']}>,
COOKIES:{'sessionid': 'd457c6532fb125d60eb55b11dd5b7356'},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': '42',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_CONTENT_LENGTH': '42',
'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded',
'HTTP_COOKIE': 'sessionid=d457c6532fb125d60eb55b11dd5b7356',
'HTTP_HOST': 'loco.ubuntu.com',
'HTTP_KEEP_ALIVE': '115',
'HTTP_REFERER': 'http://loco.ubuntu.com/events/team/530/register/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12',
'PATH_INFO': u'/events/team/530/register/',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '110.139.116.115',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'POST',
'SCRIPT_NAME': '',
'SERVER_NAME': 'loco.ubuntu.com',
'SERVER_PORT': 80,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}>
To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-directory/+bug/669909/+subscriptions
References