Retain all form params in duplicate check interstitial pages#1023
Open
Retain all form params in duplicate check interstitial pages#1023
Conversation
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue with dupe check interstitial pages for user creation
Retain all form params in duplicate check interstitial pages
Feb 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the goal of this PR and why is this important?
Person and user creation forms lose all data when duplicate detection triggers. Users filling complex forms with nested attributes (sectors, organizations, addresses, profile settings) must re-enter everything after clicking "Go Back" or "Create Anyway" from the duplicate check page.
How did you approach the change?
Session storage on redirect:
check_duplicatesView updates:
check_duplicatesactionsHelper method:
Controllers:
Anything else to add?
56 existing tests pass. Added 6 new tests validating param retention through duplicate check flow.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
vite/usr/local/bin/bundle bundle exec rspec spec/requests/people_check_duplicates_spec.rb spec/requests/users_check_duplicates_spec.rb --format documentation _64-linux-gnu/12/cc1 2f4e1c8a2d7be9957dd5af35cfdef9e145f/log.json -plugin-opt=-pas-w by/backward _64-linux-gnu/12security -c(dns block)/usr/local/bin/bundle bundle exec rspec spec/requests/users_check_duplicates_spec.rb:56 --format documentation nat 2f4e1c8a2d7be9957dd5af35cfdef9e145f/log.json OUTPUT -d 127.0.0.11 /node_modules/@esbuild/linux-x64--mode --wa�� e test nat /usr/local/bin/node 2f4e1c8a2d7be9957dd5af35cfdef9e145f/cec878078105d0d890c9b7f808610415167ad162df4820aec43d5f1e54d1bfca.pid -d 127.0.0.11 45f/log.json(dns block)/usr/local/bin/bundle bundle exec rspec spec/requests/users_check_duplicates_spec.rb:56 --format documentation --backtrace in/node fb2ce4bdb0b7cb16bash -I /cc1 b82b582b5e42e3cba1ea1b89ab4fa8058e69.pid in/v��(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.