Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import errors and other datastore dashboard improvements #3723

Merged
merged 26 commits into from
Dec 7, 2021

Conversation

dafeder
Copy link
Member

@dafeder dafeder commented Dec 7, 2021

Improvements to the datastore import status page and underlying services:

  • Displays datastore import errors on the import dashboard.
  • Improves readability of the overall table
  • Fixes bug in pager

QA Steps

  • Enable datastore_mysql_import
  • Upload a non-UTF8 CSV file as a resource.
  • Run cron
  • Visit /admin/dkan/dataset-status
  • Import status should show an error for the non-UTF8 resource
  • Confirm table looks good
  • Confirm pager works as expected

Known issues

There are still issues with underlying reporting from the fetcher and importer. A file that DKAN refuses to import, such as a non-CSV file, just shows up as "waiting" rather than giving useful feedback. Additionally, imports from the mysql importer ("LOAD INFILE") show as "0%" even though they are done.

@dafeder dafeder marked this pull request as ready for review December 7, 2021 19:28
Copy link
Contributor

@clayliddell clayliddell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; passed QA; automated tests are also passing. Approved!

@clayliddell clayliddell merged commit 72d67b5 into 2.x Dec 7, 2021
@clayliddell clayliddell deleted the dashboard-rows branch December 7, 2021 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants