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

Draft dataset and draft collection delete: When a draft dataset/collection is deleted, the auto-refresh landing page should not show the deleted dataset #11206

Open
sbarbosadataverse opened this issue Feb 3, 2025 · 1 comment
Labels
Size: 10 A percentage of a sprint. 7 hours. Type: Bug a defect

Comments

@sbarbosadataverse
Copy link

sbarbosadataverse commented Feb 3, 2025

Please fill out as much of the template as you can.
Start below this comment section.
-->
What steps does it take to reproduce the issue?
Navigated to a draft dataset/collection within a subcollection, and selected to delete the dataset and next the collection.
The confirmation page is displayed, and I confirmed and when the page auto-refreshed, the dataset/colection was still showing. I had to refresh again to see the dataset/collection was deleted.

  • When does this issue occur?
    during draft dataset/collection delete

  • Which page(s) does it occurs on?
    dataset and collection landing page

  • What happens?
    the deleted dataset/collection continues to display until user refreshes the page again

  • To whom does it occur (all users, curators, superusers)?
    superuser

  • What did you expect to happen?

once I select delete and confirm and the autorefresh happens, the listing would disappear and would not need to refresh again

Which version of Dataverse are you using?

most recent

Are there any open or closed issues related to this bug report?
unsyare

Screenshots:
This screen shot shows the test dataset I deleted and what is there after I confirm deletion. You see the "success" message but the dataset that was removed is still listed.

Image

Image

@sbarbosadataverse sbarbosadataverse added the Type: Bug a defect label Feb 3, 2025
@sbarbosadataverse sbarbosadataverse moved this to SPRINT- NEEDS SIZING in IQSS Dataverse Project Feb 3, 2025
@sbarbosadataverse sbarbosadataverse changed the title Dataset delete: When a dataset is deleted, the autorefresh landing page should not show the deleted dataset Draft Dataset and draft collection delete: When a draft dataset/collection is deleted, the auto-refresh landing page should not show the deleted dataset Feb 3, 2025
@sbarbosadataverse sbarbosadataverse changed the title Draft Dataset and draft collection delete: When a draft dataset/collection is deleted, the auto-refresh landing page should not show the deleted dataset Draft dataset and draft collection delete: When a draft dataset/collection is deleted, the auto-refresh landing page should not show the deleted dataset Feb 3, 2025
@qqmyers
Copy link
Member

qqmyers commented Feb 3, 2025

FWIW: This is probably due to the change in Solr to handle changes in batches for efficiency, which will wait for up to 1 second (by default config). If the page refreshes before then, it can still see the old index. It can probably be worked-around by reducing that 1 second time (at the cost of possibly making solr less efficient) or adding a ~1 second delay to the delete operation, or some combination.

@cmbz cmbz added the Size: 10 A percentage of a sprint. 7 hours. label Feb 12, 2025
@cmbz cmbz moved this from SPRINT- NEEDS SIZING to SPRINT READY in IQSS Dataverse Project Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 10 A percentage of a sprint. 7 hours. Type: Bug a defect
Projects
Status: SPRINT READY
Development

No branches or pull requests

3 participants