Skip to content

Fix (form): Fixed issue causing declaration page to not render correctly#72

Merged
phrogwrld merged 1 commit intodevelopfrom
fix/update-protege-fields
Jan 28, 2026
Merged

Fix (form): Fixed issue causing declaration page to not render correctly#72
phrogwrld merged 1 commit intodevelopfrom
fix/update-protege-fields

Conversation

@IsaiahSama
Copy link
Contributor

Description

Declaration page for Protege form was rendering the fallback, due to the renderer looking for applicant.firstName and applicant.lastName, however, the Protege form used personal.

As such, converted the personal field to be applicant, so that we could have consistent behaviour between forms, by updating the backend schema, and email templates.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Changes Made

schemas/project-protege-mentor.json
src/email/templates/project-protege-mentor.hbs
src/email/templates/project-protege-mentor-receipt.hbs

Personal was changed to Applicant, to ensure consistency.

Notes

Testing

  • Manual tests completed
  • Added unit tests
  • Added e2e tests

Related Github Issue(s)/Trello Ticket(s)

Trello #138

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated

@amazon-inspector-n-virginia
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-inspector-n-virginia
Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

@IsaiahSama IsaiahSama requested a review from phrogwrld January 27, 2026 22:29
@phrogwrld phrogwrld merged commit 5e55327 into develop Jan 28, 2026
2 checks passed
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