[BUG] Attachments not saving in partner profile
Summary
Attachments on partner profiles are not saving. Fix it.
Why
Because sometimes the banks need the documents the partners upload as part of their approval process.
Details
@cielf discovered this while debugging another issue. Initial investigation suggests that there are some reloads that were added in when we added in the counties that are blowing away the actual contents of the attachment so it can't be saved (per @dorner)
Followup that will be needed
Once we have this fixed, we'll need to check if there are any uploads in the period between when it started (April/May .. we'll need to check to find the exact date)
Criteria for completion
- [ ] saving the attachments works
- [ ] tests to demonstrate this
- [ ] the counties validations still work (that's the primal source of the issue -- the reloads are there because of something funky with the validations)
- [ ] PR includes note about followup required.
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.
Automatically unassigned after 7 days of inactivity.
PR is https://github.com/rubyforgood/human-essentials/pull/3782
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.
Automatically unassigned after 7 days of inactivity.
I will take a look at it and see if the existing PR fixes the issue.
Hey @patelkrunal31 What was the result of your investigation?
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.
Automatically unassigned after 7 days of inactivity.
TODO onthis -- write up the very edge case (see the PR) as a more specific issue, and then close this one.
Proto issue added -- at a "this is happening in production" level, because it has in the last month. Closing this issue.