human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Fix edge case on saving profile attachments

Open cielf opened this issue 1 year ago • 0 comments

Summary

There is a sequence on editing a profile with an upload that results in the file not being saved

Why fix?

Not saving things the users reasonably expect to be saved is not good... and we have seen the exception noted below in production.

Details

Recreation

Try this sequence: Sign in as [email protected] Edit My Organization Choose a file for IRS Determination Letter Change the numbers in Area Served so that it no longer adds up to 100 Click Update Information gets an exception "Cannot get a signed_id for a new record"

What we need

That sequence should not produce an exception. If it is not going to result (after correcting other errors) in the file chosen being saved, we need to include that in the error messaging

Criteria for completion

  • [ ] The stated sequence works in a recoverable manner
  • [ ] Tests to demonstrate

cielf avatar Jun 23 '24 14:06 cielf