Skip to content

Org: Guards against invalid data when confirming/finalizing reservations - #2729

Merged
Daverball merged 6 commits into
masterfrom
onegov-cloud-5ZZ
Oct 7, 2026
Merged

Daverball merged 6 commits into
masterfrom
onegov-cloud-5ZZ

Conversation

@Daverball

@Daverball Daverball commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Commit message

Org: Guards against invalid data when confirming/finalizing reservations

When we detect invalid submission data, we now redirect back to the form
view, so those errors can be corrected. Generally it wasn't possible to
provoke any errors by using the application normally, but opening the
same submission in multiple browser windows/tabs or manually changing
the URL can bypass some of the validation, so it's only caught at the
very end, when we try to complete the submission.

TYPE: Bugfix
LINK: ONEGOV-CLOUD-5ZZ

Checklist

  • I have performed a self-review of my code
  • I have tested my code thoroughly by hand
  • I have added tests for my changes/features

When we detect invalid submission data, we now redirect back to the form
view, so those errors can be corrected. Generally it wasn't possible to
provoke any errors by using the application normally, but opening the
same submission in multiple browser windows/tabs or manually changing
the URL can bypass some of the validation, so it's only caught at the
very end, when we try to complete the submission.

TYPE: Bugfix
LINK: ONEGOV-CLOUD-5ZZ
@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.71%. Comparing base (3ee6a3e) to head (87c2d6b).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
Files with missing lines Coverage Δ
src/onegov/org/views/reservation.py 73.56% <100.00%> (+0.46%) ⬆️
src/onegov/town6/views/reservation.py 64.91% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ee6a3e...87c2d6b. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Daverball
Daverball merged commit c012c78 into master Oct 7, 2026
16 checks passed
@Daverball
Daverball deleted the onegov-cloud-5ZZ branch October 7, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant