Skip to content

fix/DF-717: Fixed ref-num being double-generated#294

Merged
jbarnsley10 merged 1 commit intomainfrom
fix/DF-717-ref-num-fix
Jan 22, 2026
Merged

fix/DF-717: Fixed ref-num being double-generated#294
jbarnsley10 merged 1 commit intomainfrom
fix/DF-717-ref-num-fix

Conversation

@jbarnsley10
Copy link
Copy Markdown
Contributor

@jbarnsley10 jbarnsley10 commented Jan 21, 2026

Proposed change

Fix to prevent the ref num being generated afresh after form submission.
The ref num is now stored in confirmationState, and the confirmation page reads it from there, since the main state has already been cleared by the time the confirmation page is displayed (previously this was auto-generating another ref num).

Jira ticket: DF-717

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@sonarqubecloud
Copy link
Copy Markdown

@jbarnsley10 jbarnsley10 merged commit 4b4fb50 into main Jan 22, 2026
25 checks passed
@jbarnsley10 jbarnsley10 deleted the fix/DF-717-ref-num-fix branch January 22, 2026 08:34
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.

2 participants