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

Ekirjasto 18 show failed items during opds import #107

Merged

Conversation

natlibfi-kaisa
Copy link
Contributor

@natlibfi-kaisa natlibfi-kaisa commented Oct 30, 2024

Description

This PR adds information to log a message about OPDS feed titles that fail during import.

Motivation and Context

When an OPDS feed is imported, it logs information about how many titles are imported and how many fail. However, it does not log what titles fail and what causes them to fail.
The log message in the admin UI in admin/web/troubleshooting/diagnostics/monitor under odl2 import monitor now shows which ISBNs fail and any recorded error message.

How Has This Been Tested?

Tested locally with new feed that contains one failing title.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Transifex translators have been notified. --> N/A

Copy link
Contributor

@natlibfi-psams natlibfi-psams left a comment

Choose a reason for hiding this comment

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

Looks ok.

Copy link
Contributor

@NatLibFi-JoonaKupe NatLibFi-JoonaKupe left a comment

Choose a reason for hiding this comment

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

a-ok

@natlibfi-kaisa natlibfi-kaisa merged commit 747f68d into main Oct 31, 2024
24 checks passed
@natlibfi-kaisa natlibfi-kaisa deleted the ekirjasto-18-show-failed-items-during-opds-import branch October 31, 2024 07:10
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.

3 participants