Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a bug that prevents the export win from being saved #6591

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

paulgain
Copy link
Contributor

@paulgain paulgain commented Mar 9, 2024

Description of change

When converting an Export Project to an Export Win the transformer was incorrectly transforming the exporter_experience into an array when it should have been an object. This is problematic when the user gets to the end of the form and attempts to save. At this point the API endpoint validation rejects the HTTP POST with a 400.

Checklist

  • Has the branch been rebased to main?
  • Automated tests (Any of the following when applicable: Unit, Functional or End-to-End)
  • Manual compatibility testing (Browsers: Chrome, Firefox, Edge, Safari)

When converting an export project to an export win the transformer
was incorrectly transforming the exporter_experience into an array
when it should have been an object. This is problematic when the
user gets to the end of the form and attempts to save, the API
endpoint validation rejects the HTTP POST.
@paulgain paulgain requested a review from a team as a code owner March 9, 2024 16:42
Copy link

cypress bot commented Mar 9, 2024

Passing run #51745 ↗︎

0 24 0 0 Flakiness 0

Details:

Fixes a bug that prevents the export win from being saved
Project: data-hub-frontend Commit: 94c8dfdb94
Status: Passed Duration: 02:05 💡
Started: Mar 9, 2024 4:47 PM Ended: Mar 9, 2024 4:49 PM

Review all test suite changes for PR #6591 ↗︎

@paulgain paulgain merged commit 892f284 into main Mar 11, 2024
16 checks passed
@paulgain paulgain deleted the fix/convert-export-project-to-export-win branch March 11, 2024 12:23
chopkinsmade pushed a commit that referenced this pull request Mar 11, 2024
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.

3 participants