Custom Query (2152 matches)
Results (1891 - 1893 of 2152)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1340 | fixed | Editing non-existent group causes Exception | dread | dread |
| Description |
e.g. http://ckan.net/group/edit/history Module ckan.controllers.group:135 in edit
<< try:
old_data = get_action('group_show')(context, data_dict)
c.grouptitle = old_data.get('title')
c.groupname = old_data.get('name')
>> old_data = get_action('group_show')(context, data_dict)
Module ckan.logic.action.get:347 in group_show
<< if group is None:
raise NotFound
check_access('group_show',context, data_dict)
>> raise NotFound
|
|||
| #1346 | fixed | 'get_authorization_group_dict not found' exception | dread | dread |
| Description |
This stems from a feature to allow you to prefill fields in the authorizationgroup creation form. e.g. http://ckan.net/authorizationgroup/new?name=science It's not tested, not supported in the new logic layer and therefore broken. I don't think anyone uses it - can remove it. |
|||
| #1347 | fixed | Exception caused by New Group form POST with bad formed parameter | dread | dread |
| Description |
Exception caused by bots POSTing 'new group' form, but with bad (old-style) parameters. <type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'cache'
...
Module ckan.controllers.group:102 in new
<< if context['save'] and not data:
return self._save_new(context)
data = data or {}
>> return self._save_new(context)
Module ckan.controllers.group:152 in _save_new
<< try:
data_dict = clean_dict(unflatten(
tuplize_dict(parse_params(request.params))))
context['message'] = data_dict.get('log_message', '')
group = create.group_create(data_dict, context)
>> tuplize_dict(parse_params(request.params))))
Module ckan.logic:57 in tuplize_dict
<< for num, key in enumerate(key_list):
if num % 2 == 1:
key_list[num] = int(key)
tuplized_dict[tuple(key_list)] = value
return tuplized_dict
>> key_list[num] = int(key)
ValueError: invalid literal for int() with base 10: 'cache'
|
|||
Note: See TracQuery
for help on using queries.
