Project

General

Profile

Actions

Incident #11206

closed

CWP Catalog item not (down)loading

Added by Anton Ellenbroek about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Urgent
Category:
Data Management
Target version:
Start date:
Feb 19, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

https://ckan-bb.d4science.org/dataset/isscfc/resource/20070341-059c-4188-ac2a-52b348362b7c?inner_span=True

and other items in the CWP Secrtariat CKAN catalog are not always downoadable. In cases where files are uploaded, a server error is shown.

Actions #1

Updated by Pasquale Pagano about 7 years ago

  • Assignee changed from Leonardo Candela to Francesco Mangiacrapa
  • Priority changed from Normal to Urgent
Actions #2

Updated by Costantino Perciante about 7 years ago

Hi Anton, how did you published these items? We need to understand how the resources (files) have been attached to the items

Actions #3

Updated by Pasquale Pagano about 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100

Hi @anton.ellenbroek@fao.org, we think to have identified the reasons for the error. There are more than one reasons (if we are correct in our analysis)

  • first, the Catalogue Admin role was given to Aureliano and Aymen. This role enables users to manage directly CKAN and the user should know how to use it. The Catalogue Editor role should have been assigned instead.

  • second, having the role Catalogue Admin, we think that Aymen updated an existing record by using the Manage function to add a resource of type PDF. By doing in this way, the resource was saved on CKAN local storage, not accessible from outside, and not in the cloud storage.

The edit of an existing record is supported via API only. If you need to edit records by adding resources through the GUI, you need to
a) store the file on the workspace
b) get a public link to the that file
c) edit the record by adding that link.

Please confirm that this is acceptable to you and close this ticket. We will start supporting this feature also via the Manage GUI function but clearly, it will be delivered in about one month.

Actions #4

Updated by Francesco Mangiacrapa about 7 years ago

  • Status changed from In Progress to Closed

We just released a patch to fix the issue (more details at #https://support.d4science.org/issues/11284)

Now is possible to download the resources belonging to CWP_Secretariat authority.

I'm going to close this ticket.

Actions #5

Updated by Aymen Charef about 7 years ago

Dear Lino

Thank you for the analysis. I confirm using the steps you described by adding a file to resources of an item, as we learned from the CNR colleague.
I have to mention that the links of files I uploaded before are functional now without moving then to workspace. I guess they are uploaded by @francesco.mangiacrapa@isti.cnr.it to the CKAN cloud.

I will follow the new procedure , through the workspace, as you described:

The edit of an existing record is supported via API only. If you need to edit records by adding resources through the GUI, you need to
a) store the file on the workspace
b) get a public link to the that file
c) edit the record by adding that link.

Please confirm that this is acceptable to you and close this ticket. We will start supporting this feature also via the Manage GUI function but clearly, it will be delivered in about one month.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)