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

Motion-list > multi-select: Prevent Error in snackbar #3019

Closed
Elblinator opened this issue Nov 17, 2023 · 0 comments · Fixed by #3036
Closed

Motion-list > multi-select: Prevent Error in snackbar #3019

Elblinator opened this issue Nov 17, 2023 · 0 comments · Fixed by #3036
Assignees
Labels
Milestone

Comments

@Elblinator
Copy link
Member

Elblinator commented Nov 17, 2023

Current behaviour:
If a several motion are added to the agenda and at least one motion is already in the agenda then a cryptic error is thrown: Error: Update of agenda_item/3395: You try to set following required fields to an empty value: ['content_object_id']

Reproduction:
in a meeting:

  1. have at least one topic in agenda
  2. create two motions, put one of them in the agenda
  3. navigate to motion-list
  4. activate multi-select and select the two motions
  5. move them into the agenda (select the topic as parent)
  6. error is thrown

Wanted behaviour:
If one of the motions is already in the agenda, then this motion should be skipped and the rest should be continued

@Elblinator Elblinator added the bug label Nov 17, 2023
@Elblinator Elblinator added this to the 4.1 milestone Nov 17, 2023
@Elblinator Elblinator changed the title Prevent Error message Motion-öist > multi-select: Prevent Error in snackbar Nov 17, 2023
@Elblinator Elblinator changed the title Motion-öist > multi-select: Prevent Error in snackbar Motion-list > multi-select: Prevent Error in snackbar Nov 17, 2023
@bastianjoel bastianjoel self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants