OpenSlides / OpenSlides/openslides-meta
Fix 'reset to default' in meeting setting
Nobody has claimed this yet.
- Dominant language
- PLpgSQL
- Stars
- 0
- Forks
- 25
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 12
Description
Describe the bug
If you reset the settings in the motions or all then the following error is thown
Error: Action meeting.update: data.motions_block_slide_columns must be bigger than or equal to 1
How to Reproduce
- open meeting > settings
- in three dot menu > reset to default
- Error is thrown
Expected behavior
settings should reset correctly
The default: 1 is needed in the meta for this field
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reset flow from Meeting > Settings, then locate the metadata or default-setting definition for motions_block_slide_columns referenced by the meeting.update error. Verify that resetting motions or all settings supplies the default value 1 and completes without an error; add or update the relevant test if one exists.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100