"The Team was not found" after changing the team display name in launchpad
Bug #518479 reported by
Savvas Radevic
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCo Team Portal |
Fix Released
|
High
|
Unassigned |
Bug Description
I changed the display name of the team, from "Cypriot Ubuntu LoCo" to "Ubuntu Cyprus":
https:/
I then went to http://
http://
I click "Update information now!" and an error popped up saying:
"The Team was not found!
You can browse the full list of teams
Please make sure the team you are looking for is a member of The LoCo Teams group in Launchpad
If you believe the reason you are here is an bug in the LoCo Directory please Report it!"
But the information was changed correctly though.
Changed in loco-directory: | |
importance: | Undecided → High |
To post a comment you must log in.
Confirmed. I got this mail by the LD:
Traceback (most recent call last):
File "/var/lib/ python- support/ python2. 5/django/ core/handlers/ base.py" , line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/ python- support/ python2. 5/django/ contrib/ auth/decorators .py", line 67, in __call__ func(request, *args, **kwargs)
return self.view_
File "/srv/loco. ubuntu. com/loco_ directory/ teams/views. py", line 75, in team_edit user.message_ set.create( message= _('Team details updated'))
request.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ fields/ related. py", line 310, in create nager, self).create( **kwargs)
return super(RelatedMa
File "/var/lib/ python- support/ python2. 5/django/ db/models/ manager. py", line 99, in create query_set( ).create( **kwargs)
return self.get_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ query.py" , line 319, in create save(force_ insert= True)
obj.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ base.py" , line 311, in save save_base( force_insert= force_insert, force_update= force_update)
self.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ base.py" , line 383, in save_base _insert( values, return_ id=update_ pk)
result = manager.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ manager. py", line 138, in _insert query(self. model, values, **kwargs)
return insert_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ query.py" , line 894, in insert_query sql(return_ id)
return query.execute_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/subqueries. py", line 309, in execute_sql sql(None)
cursor = super(InsertQuery, self).execute_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/query. py", line 1734, in execute_sql execute( sql, params)
cursor.
ProgrammingError: can't adapt
<ModPythonRequest ubuntu- cy/edit, www.ubuntucy. org/forum'], u'city': [u''], u'wiki_url': [u'http:// www.ubuntucy. org/wiki'], u'country': [u'Cyprus'], u'spr': [u''], u'irc_chan': [u'#ubuntu-cy'], u'provides_ support' : [u'on'], u'web_url': [u'http:// www.ubuntucy. org/'], u'ml_url': [u'https:/ /lists. ubuntu. com/mailman/ listinfo/ ubuntu- cy'], u'email': [<email address hidden>']}>, {'sessionid' : 'c792638f11fa50 2343c569526c4a3 164'}, INTERFACE' : 'CGI/1.1', application/ xhtml+xml, application/ xml;q=0. 9,*/*;q= 0.8', ACCEPT_ CHARSET' : 'ISO-8859- 1,utf-8; q=0.7,* ;q=0.7' , ACCEPT_ ENCODING' : 'gzip,deflate', ACCEPT_ LANGUAGE' : 'en-us, en;q=0. 7,el;q= 0.3', CONTENT_ LENGTH' : '299', CONTENT_ TYPE': 'application/ x-www-form- urlencoded' , c792638f11fa502 343c569526c4a31 64', loco.ubuntu. com/teams/ ubuntu- cy/edit',
path:/teams/
GET:<QueryDict: {}>,
POST:<QueryDict: {u'forum_url': [u'http://
COOKIES:
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0L,
'CONTENT_TYPE': None,
'GATEWAY_
'HTTP_ACCEPT': 'text/html,
'HTTP_
'HTTP_
'HTTP_
'HTTP_CONNECTION': 'keep-alive',
'HTTP_
'HTTP_
'HTTP_COOKIE': 'sessionid=
'HTTP_HOST': 'loco.ubuntu.com',
'HTTP_KEEP_ALIVE': '300',
'HTTP_REFERER': 'http://
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 U...