-
Notifications
You must be signed in to change notification settings - Fork 3
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
Database integrity check #685
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[2019-05-01] Database export failed due to a referred Authorship Term in a Profile was deleted from Term (Mongodb Collection), error message in profiles-service log:
The faulty Profile was https://profiles.ala.org.au/opus/foa/profile/Acacia%20armitii
or https://profiles.ala.org.au/opus/foa/profile/87e08cd2-4ce0-4416-8d43-18d509d7e38f
Looked into database:
"Edited by B.R. Maslin & Jemima Rogers (June 2012), P.G. Kodela (January 2018), A.E. Orchard (January 2018)"
was the entry caused the problem and it's duplicated.The problem has been resolved by removing above Term link from Profile.
Application was tested and database was checked, there is no other Profile with this issue.
This ticket is created as a reminder to check database integrity in the next Sprint:
db.profile.distinct("draft.authorship.category");
unique authorship Term in draft Profilesdb.profile.distinct("authorship.category");
unique a-Term in published Profilesdb.term.find({});
all TermsThe text was updated successfully, but these errors were encountered: