Handle missing form data in rollout phase and screenshot delete requests
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
Research direction
Start by locating the rollout phase and screenshot delete request handlers, then trace how each reads its form data, especially rollout_phases-TOTAL_FORMS and branch-feature-value-TOTAL_FORMS. Reproduce a delete request with the expected data missing and find the existing tests for these flows. Done means both cases avoid a 500 response; the issue does not specify the desired response.
Written by the indexing model from the issue text.
Description
Sentry reported MultiValueDictKeyError errors when deleting rollout phases and screenshots because the requests were missing the expected form data (rollout_phases-TOTAL_FORMS and branch-feature-value-TOTAL_FORMS). This could be caused by a user clicking a stale delete button or double-clicking while the form is being updated. Currently, these requests result in a 500 error. We should handle missing form data better to avoid these errors.
┆Issue is synchronized with this Jira Task
- Dominant language
- Python
- Stars
- 152
- Forks
- 231
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 201
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from mozilla/experimenter
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mozilla/experimenter#18288 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#18281 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
mozilla/experimenter#18132 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mozilla/experimenter#18079 ·
Maintainers usually reply within 1 day
-
Targeting version check uses whichever version was cached first: `TargetingContextFields.for_application` ignores versionMay be free again @user-Param claimed this 21 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#17974 · 1 comment ·
Maintainers usually reply within 1 day
All issues in mozilla/experimenter
Similar issues
-
area: ci enhancement perceived difficulty: 1
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Nitjsefnie-Harness-Commons/daedalus#1826 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vllm-project/vllm-sail#398 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DiamondLightSource/sm-bluesky#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100