[ckan-dev] Possible Bug in Organizations

Rufus Pollock rufus.pollock at okfn.org
Thu Feb 14 14:01:35 UTC 2013


Might be worth reporting actual bugs direct on the issue tracker:
https://github.com/okfn/ckan/issues

Rufus

On 14 February 2013 13:28, Kirstein, Fabian
<fabian.kirstein at fokus.fraunhofer.de> wrote:
> Hi!
>
> It is not possible to delete an organization.
>
> I’m using 2.1.
>
>
>
>
>
> File '/home/fki/pyenv/src/ckan/ckan/controllers/group.py', line 458 in
> delete
>
>   self._action('group_delete')(context, {'id': id})
>
> File '/home/fki/pyenv/src/ckan/ckan/logic/__init__.py', line 323 in wrapped
>
>   return _action(context, data_dict, **kw)
>
> File '/home/fki/pyenv/src/ckan/ckan/logic/action/delete.py', line 261 in
> organization_delete
>
>   return _group_or_org_delete(context, data_dict, is_org=True)
>
> File '/home/fki/pyenv/src/ckan/ckan/logic/action/delete.py', line 223 in
> _group_or_org_delete
>
>   for pkg in group.active_packages().all():
>
> AttributeError: 'Group' object has no attribute 'active_packages'
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>




More information about the ckan-dev mailing list