OpenSlides / OpenSlides/openslides-client

A deleted agenda item is visible in agenda item list

Open
#6,230 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
35
Forks
52
Avg merge
1d 9h
Merged PRs (30d)
52

Description

Describe the bug
After doing some committee/meeting/motion CRUD stuff, I ran sometimes in the situation,
that I deleted a agenda item but the deleted agenda item is still visible in the agenda item list.

How to Reproduce

Before:

  1. Add a committee, edit it, delete it
  2. Add a new committee
  3. Add a new account, change it, delete it.
  4. Add a meeting, edit it, delete it in the new committee
  5. Add a new meeting in the new committee, now use this new meeting
  6. Add a motion, edit it, add an amendment, change it, delete both with multi select

Then:

  1. Create a topic (agenda item) with a description (like "foo")
  2. Switch to the detail view of the new topic
  3. Edit it and change the description to "bar" and Save
  4. Delete the agenda item with delete in three-dot menu.
    => Now you will be redirect to the agenda item list, but there the item is still visible

Expected behavior

A deleted item should not be visible in the list, because interaction with this "zombie" agenda item
leads to errors.

System information

  • OpenSlides version: pre 4.3 or demo (4.2.29)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the committee, meeting, motion, amendment, and agenda-item workflow in OpenSlides 4.2.29 or the demo, then inspect the agenda item list after deleting the edited topic. Done means the deleted item is absent from the list and cannot be opened as a zombie item.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.