Replace Attachment (Incompatible File) - Not Updating in Redaction App
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
**Describe the bug in current situation**
When a user replaces an attachment (child file attached to a parent email) that is an incompatible file, the new attachment is not being displayed in the Redaction App. This could lead to missing responsive records in the package, which is a concern.
**Link bug to the User Story**
**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.
High
**Chance of Occurring (high/medium/low/very low)**
Medium
**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
PROD and TEST
**Steps to Reproduce**
Steps to reproduce the behavior:
1. Access a request and go to the Records tab
2. Upload an email file that has an incompatible file as an attachment

3. After dedupe and conversion completes, view the records in the Redaction App - incompatible files will not be included

4. In the Records tab, replace the incompatible file that is an attachment with a PDF



5. Open the Redaction App, and see error where the PDF, which you replaced the incompatible file with, is not available

**Actual/ observed behaviour/ results**
When you replace an incompatible file, which is an attachment, with a PDF in the Records tab, the new file is not showing up in the Redaction App.
**Expected behaviour**
A clear and concise description of what you expected to happen. Use the gherking language.
GIVEN a user replaces an incompatible file attachment with a compatible file (e.g., PDF)
AND the file is successfully deduped and converted (if needed), indicated by a green check mark
WHEN the user opens the Redaction App
THEN the compatible file (which will be a PDF) will be displayed in the left pane for redaction
**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.
Contributor guide
Assessment
This issue has not been assessed yet.