Ticket #1733 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Delete (inactivate) harvest sources

Reported by: amercader Owned by: amercader
Priority: major Milestone: ckan-sprint-2012-02-20
Component: ckan Keywords: harvesting, uklp, 2d
Cc: Repository: ckanext-harvest
Theme: none

Description

Right now harvest sources can be inactivated (only via the cli), but we need to make sure:

  • Expose this on the web interface (only for sysadmins, see #1731)
  • Inactive sources are not shown in the web interface

Also for deleted packages:

a) Deleted packages get state="deleted" (not actually purged) so they are hidden on front end ACTION: need a button on the front end for "Delete" for sysamdins

Done in #1425. Not sure if the button is only shown to sysadmins.

b) No undelete: If you reharvest a deleted package, it remains deleted

  • Publisher should create a new record with new identifier and same/different content as applicable.
  • If publisher reharvests, a deleted document they get a error and are told to create new identifier for their updated.
  • You won't get the state where a package is updated in its deleted state
  • If they change the ID and reharvest, a new record appears on DGU.

c) Update CSW interface so that export doesn't export deleted packages d) Check geospatial search doesn't search deleted pacakges e) Check deleted packages don't appear in harvest source details, or in the counts or anywhere in the harvest interface or API.

Change History

comment:1 Changed 2 years ago by amercader

  • Milestone changed from ckan-sprint-2012-02-06 to current-ckan-sprint-2012-02-20

comment:2 Changed 2 years ago by amercader

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.