cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
35 stars 13 forks source link

AddressComplete: Unable to download responses #4598

Open anikbrazeau opened 2 weeks ago

anikbrazeau commented 2 weeks ago

Description

Encountering error when trying to download responses containing AddressComplete / branching, as CSV/JSON/ZIP.

Steps to reproduce

  1. Create a form with conditional branching and address complete
  2. Copy form cm35vgbuo000113ka5bzvgv0t
  3. Go to Test and submit responses
  4. Go to Responses and download responses
  5. See error

Details

Downloads seamlessly

Screenshots or videos

Visual proof to help explain the problem.

Screenshot 2024-11-06 at 7.59.14 AM.png Screenshot 2024-11-06 at 8.00.32 AM.png Screenshot 2024-11-06 at 8.00.19 AM.png
samsadasivan commented 2 weeks ago

Forms with and without branching - downloading responses worked for me

ShadeWyrm commented 2 weeks ago

This seems to be related to the specific form setup here.

form-name-2024-11-05.json

Still investigating the root cause, but it's definitely not all responses/forms that have AddressComplete.

Abi-Nada commented 2 weeks ago

@anikbrazeau I'm curious: After creating a test response, did you then make any changes to the form, before you then downloaded the test response?

anikbrazeau commented 2 weeks ago

@Abi-Nada I may have? I could not replicate it. Could that be a scenario that a client might also encounter since it is possible to download draft responses and then to keep modifying the draft form content?