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

FYST-1081 MD Populate exception code for resubmission #5687

Merged

Conversation

tahsinaislam
Copy link
Contributor

@tahsinaislam tahsinaislam commented Mar 5, 2025

Link to pivotal/JIRA issue

https://codeforamerica.atlassian.net/browse/FYST-1081

Is PM acceptance required? (delete one)

  • Yes - don't merge until JIRA issue is accepted!

What was done?

  • Added exception code for any submissions that was a resubmission

How to test?

  • Added a unit test

Screenshots (for visual changes)

Screenshot 2025-03-06 at 12 56 47 PM Screenshot 2025-03-05 at 5 04 34 PM

Copy link

github-actions bot commented Mar 5, 2025

Heroku app: https://gyr-review-app-5687-f280bac51570.herokuapp.com/
View logs: heroku logs --app gyr-review-app-5687 (optionally add --tail)

@tahsinaislam tahsinaislam marked this pull request as ready for review March 5, 2025 23:21
Copy link
Contributor

@arinchoi03 arinchoi03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to include this on the xml? seeing on the story:

XML field ExceptionCodes

@@ -38,7 +38,7 @@ def hash_for_pdf

'Maryland Physical Address Line 1 Street No and Street Name No PO Box': @xml_document.at('MarylandAddress AddressLine1Txt')&.text,
'Maryland Physical Address Line 2 Apt No Suite No Floor No No PO Box': @xml_document.at('MarylandAddress AddressLine2Txt')&.text,
'City': @xml_document.at('MarylandAddress CityNm')&.text,
City: @xml_document.at('MarylandAddress CityNm')&.text,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you remove the quotes from ‘City’ here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, maybe the symbol is enough and it doesn’t matter because the same is happening below as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm assuming this is a rubymine suggestion -- we don't need quotes around single-word strings (and I guess something like primary_pension further down is also considered to be a single word)

Copy link
Contributor

@anisharamnani anisharamnani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have a clarifying question, otherwise this looks good! Thanks @tahsinaislam!

@tahsinaislam tahsinaislam merged commit 6bd1641 into main Mar 6, 2025
7 checks passed
@tahsinaislam tahsinaislam deleted the FYST-1081-md-populate-exception-code-247-for-resubmissions branch March 6, 2025 21:47
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