[Testathon] Community/Collection item counts and author facets not updated after deletion

Aperta
#5,522 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@atarix83 ci sta già lavorando.

Dal 23/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

affects: 10.x affects: main bug claimed: 4Science component: Collection component: Community ux

Describe the bug

During testing T081, this bug was discovered.
Counts in Community List are not updated after deleting an item or a collection (including all its items).

Image

Similarly, the Author facet in browse/search retains entries from deleted items even though clicking them returns no results.

Image

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to an existing sub-community (or create one).
  2. Create a new collection inside it.
  3. Create at least one item in that collection with an author.
Image
  1. Delete the collection (which also removes its items).
  2. Navigate to the Community List and observe the sub-community badge, it still shows the old count instead of 0.

Expected behavior

After deleting a collection and all of its items, the parent community/sub-community badge count should update to reflect the correct number of remaining items/collections.

Related

Possible relevant change: Batch deletion process introduced in 10 https://github.com/DSpace/dspace-angular/pull/4570

Lingua principale
TypeScript
Stelle
180
Fork
577
Merge medio
2g 1h
PR unite (30g)
100

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DSpace/dspace-angular

Tutte le issue di DSpace/dspace-angular

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.