Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

Relationships - marital - location of marriage not saving - Data Persistence #130

Closed
1 task
ryanhofdotgov opened this issue May 23, 2018 · 9 comments
Closed
1 task
Assignees

Comments

@ryanhofdotgov
Copy link
Contributor

From e-QIP-prototype-truetandem created by Jay-Neighbours-I72 : ryanhofdotgov/e-QIP-prototype-truetandem#2916

  • Marriage location not saving

screen shot 2018-04-27 at 10 20 10 am

@bpdesigns
Copy link
Member

The location of Marriage seems to be persisting now, but "Provide this person's country(ies) of citizenship" is not persisting

@ryanhofdotgov
Copy link
Contributor Author

When I've read about these types of issues in the project's history it is usually because of a variable typo somewhere; e.g., part of the form calls it 'foobar' and some other layer calls it 'foo'

@bpdesigns
Copy link
Member

bpdesigns commented Jul 25, 2018 via email

@ryanhofdotgov
Copy link
Contributor Author

What you've been doing so far has been great – reviewing issues of all kinds and verifying they are still reproducible. Persistence errors in particular are important (if there are still others), since they could prevent successful completion of form.

@afeld
Copy link
Contributor

afeld commented Jul 25, 2018

We can/should also make automated tests for this: fill out a section, refresh, and check that the data displayed is the same. Shouldn't be tooo hard.

@ryanhofdotgov
Copy link
Contributor Author

Yup, totally agree – here's an outstanding related ticket #144 I asked TrueTandem to work on this before they got off contract, but they ran out of time. Once we finish the current iteration of getting the spec tests working, we should revisit.

@ryanhofdotgov
Copy link
Contributor Author

This is likely some type of naming issue; i.e., form field is named XYZ one place and persistence logic is expecting it to be called xyZ. When we've seen this type of issue in the past, that's what its been.

@hursey013
Copy link
Member

It appears that Provide the location of the marriage and Provide this person's country(ies) of citizenship are persisting when testing the app locally - can anyone else reproduce this persistence issue?

@ryanhofdotgov
Copy link
Contributor Author

Yup, still happens for me unfortunately. Steps to reproduce, using Chrome's incognito window:

  1. Sign in, expand Relationships, expand Marital & relationship status, click on Marital.
  2. Click on "Currently in a civil marriage"
  3. Scroll to Provide location. Click on Yes, in United States. Fill out City, State, County.
  4. Scroll down to bottom of page, click on Save, even if it says it was already just Saved.
  5. Log out, close window.
  6. In new incognito window, sign in again, go to "Provide location" – no data appears in fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants