bcgov / bcgov/foi-flow

No proper message for replacing a child attachment file

Open
#3,956 2 comments 0 reactions 0 assignees View on GitHub
bug medium priority
Dominant language
Python
Stars
8
Forks
2
Avg merge
14h 34m
Merged PRs (30d)
46

Description

**Describe the bug in current situation**
Attachment modal needs a proper message while replacing a child file

**Link bug to the User Story**

**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.

**Chance of Occurring (high/medium/low/very low)**

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
test-marshal

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to ministry login
2. Click on records tab
3. Upload some message file with attachments and try to replace an attachment then it shows replace file should be docx, pdf,xlsx instead of "allows only pdf files"
4. See error

**Actual/ observed behaviour/ results**

**Expected behaviour**
A clear and concise description of what you expected to happen. Use the gherking language.

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.
![image.png](https://images.zenhubusercontent.com/63e6c81be9adb8e6f876c7e0/4f035c45-c2c5-4ec2-aef2-1e1ccdb19429)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the attachment replacement flow in the records tab using the test-marshal environment. Trace the attachment modal's validation message and confirm the completed change reports docx, pdf, and xlsx as allowed replacement formats instead of saying that only PDF files are allowed.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.