[ckan-dev] Group Addition
Dimitrakakis Georgios
giorgis at ucnet.uoc.gr
Tue Dec 3 09:57:20 UTC 2013
I totally agree with you! Deleting from the database is working but
it's too complex.
Can someone help me a little bit with the API and the specific command?
I mean what do I have to type and where in order to PURGE a group "test"?
Best,
G.
> If you are using a recent version of CKAN, there is the API route
> for purging groups:
> http://docs.ckan.org/en/latest/api.html#ckan.logic.action.delete.group_purge
>
> I hesitate to suggest direct interaction with the database (not
> going through the API), but I have done this a few times to deal
> with an issue like this. You don't want to try deleting records
> because of the complexity, but you could use an update statement to
> change the name of the 'deleted' group. This would fix the issue
> with the unique constraint on the group name.
>
>
> -----Original Message-----
> From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of
> Dimitrakakis Georgios
> Sent: Monday, December 02, 2013 8:57 AM
> To: ckan-dev at lists.okfn.org
> Subject: [ckan-dev] Group Addition
>
> Dear all,
>
> I am trying to add a new group at a CKAN installation! The name of
> the Group did exist in the past but it was deleted!
> Therefore, I was expecting that I would be able to create it again.
> To my surprise when I try to create the group I am getting the
> following
> error: "Group name already exists in database" and in order to
> complete the creation succesfully I have to change the URL of the
> group to something different.
> Am I missing something obvious or this is the intended way ??
>
> Best,
>
> G.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> 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
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the ckan-dev
mailing list