[ckan-dev] Possible Bug in Organizations

Toby Dacre toby.okfn at gmail.com
Thu Feb 14 15:19:12 UTC 2013


On 14 February 2013 14:01, Rufus Pollock <rufus.pollock at okfn.org> wrote:

> 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.
> >
>

thanks I've created an issue hopefully the fix will be merged soon

 https://github.com/okfn/ckan/issues/398

toby

> > 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
> >
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130214/c6eb9f28/attachment-0001.html>


More information about the ckan-dev mailing list