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

openurltracker table should be created through "CREATE IF NOT EXISTS" #9514

Open
bram-atmire opened this issue Apr 30, 2024 · 0 comments
Open
Labels
bug needs triage New issue needs triage and/or scheduling

Comments

@bram-atmire
Copy link
Member

Context

The IRUS functionality to submit repository usage stats to the 3rd party IRUS collector, was previously added to DSpace through a 3rd party patch. As of DSpace 7, this functionality is part of DSpace out of the box. This feature relies on a DB table called "openurltracker"

https://wiki.lyrasis.org/display/DSDOC7x/Exchange+usage+statistics+with+IRUS

Describe the bug
The standard DB migration scripts will break for those institutions that previously already had the IRUS patch, and the openurltracker table in the database.

Instead of simply trying to CREATE the openurltracker table, the DSpace 7 migration should do this as CREATE IF NOT EXISTS

To Reproduce
Steps to reproduce the behavior:

  1. Load a DSpace 5 or 6 DB that already had the openurltracker table
  2. Try to execute the standard DSpace 7 DB migration

Expected behavior
The migration should not fail because of the openurltracker table already being present.

@bram-atmire bram-atmire added bug needs triage New issue needs triage and/or scheduling labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage New issue needs triage and/or scheduling
Projects
Status: 🆕 Triage
Development

No branches or pull requests

1 participant