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

"Ghost" published record #23

Open
liotf opened this issue Jan 23, 2023 · 2 comments
Open

"Ghost" published record #23

liotf opened this issue Jan 23, 2023 · 2 comments

Comments

@liotf
Copy link
Collaborator

liotf commented Jan 23, 2023

I deleted all "test" published records from the archive (both from the database and Elasticsearch).
However, the "test" published record "Test of resistivity of metal B" still appears in "My records". Other "test" published records that I owned do no longer appear, as expected.
Screenshot from 2023-01-23 15-36-13

@liotf
Copy link
Collaborator Author

liotf commented Jan 23, 2023

I deleted Elasticsearch indexes, recreated indexes, then created documents from the database. The "ghost" record is still present, in particular in the rdmrecords-drafts-draft-v5.0.0-1669024912 index. Thus, the problem seems to come from the database, maybe from a table that stores metadata of draft records.

@liotf
Copy link
Collaborator Author

liotf commented Jan 23, 2023

Idea: import a dump of the production database into a development database, try to delete the entry in the rdm_drafts_metadata table using a DELETE query, and then perform a few tests.

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

No branches or pull requests

1 participant