Ticket #2852 (closed enhancement: fixed)

Opened 21 months ago

Last modified 21 months ago

better message for trying to refresh inactive sources in harvest

Reported by: shevski Owned by: toby
Priority: awaiting triage Milestone: demo phase 3
Component: ckan Keywords: demo-theme
Cc: amercader Repository: ckan
Theme: none

Description

Currently if you try to refresh (i.e. schedule the harvester to re-run) an inactive source (one who's state is 'withdrawn' - e.g. http://s031.okserver.org:2375/harvest/3feea629-32d8-4431-9957-9f31d32864f1)

you get the error message: "An error occurred: [Can not create jobs on inactive sources]"

This could be better and not red, e.g. and info box (maybe yellow) saying that "Cannot re-run harvesting on inactive sources. Please first change the status to 'active'"

Change History

comment:1 Changed 21 months ago by toby

  • Milestone changed from demo phase 4 to demo phase 3

comment:2 Changed 21 months ago by toby

  • Owner changed from toby to shevski
  • Status changed from new to assigned

@ira,

Please review the fix I think adriá did

comment:3 Changed 21 months ago by toby

I think it should stay red but you can argue

comment:4 Changed 21 months ago by shevski

Red is fine here

Can we amend the message to:

Cannot create new harvest jobs on inactive sources. First, please change the source status to 'active'.

comment:5 Changed 21 months ago by shevski

  • Owner changed from shevski to toby

comment:6 Changed 21 months ago by toby

  • Status changed from assigned to closed
  • Resolution set to fixed

text updated and red again

Note: See TracTickets for help on using tickets.