okfn/ckan — pull request #216 by tobes (2012-12-19 09:26:53+00:00)
Title: 500 on organization/group group info page.

In the organization view page if click on the info page you get a 500
eg.
http://organizations.staging.ckanhosted.com/organization/about/floyd
http://organizations.staging.ckanhosted.com/group/about/admin-group

you should have access to the server but the error is

```
Module sqlalchemy.engine.base:1698 in _execute_context
<< parameters,
cursor,
context)
raise
>> context)
Module sqlalchemy.engine.base:1691 in _execute_context
<< statement,
parameters,
context)
except Exception, e:
self._handle_dbapi_exception(
>> context)
Module sqlalchemy.engine.default:331 in do_execute
<< def do_execute(self, cursor, statement, parameters, context=None):
cursor.execute(statement, parameters)

def do_execute_no_params(self, cursor, statement, context=None):
>> cursor.execute(statement, parameters)
ProgrammingError: (ProgrammingError) can't adapt type 'Undefined' 'SELECT "group".id AS group_id, "group".name AS group_name, "group".title AS group_title, "group".type AS group_type, "group".description AS group_description, "group".image_url AS group_image_url, "group".created AS group_created, "group".is_organization AS group_is_organization, "group".approval_status AS group_approval_status, "group".state AS group_state, "group".revision_id AS group_revision_id \nFROM "group" \nWHERE "group".id = %(id_1)s \n LIMIT %(param_1)s' {'id_1': Undefined, 'param_1': 1}
CGI Variables
```