bcgov / bcgov/foi-flow

Click to View Attachment (word document) - Error

Open
#3,087 3 comments 0 reactions 1 assignee Assigned to @Aman-Hundal View on GitHub
bug high priority security
Dominant language
Python
Stars
8
Forks
2
Avg merge
14h 34m
Merged PRs (30d)
46

Description

**Describe the bug in current situation**
A user reported that they were unable to view attachments in browser when they clicked on the attachment link - they would be taken to an error page. This behaviour also occurs when a user attempts to view the attachment through the ellipsis as well.

**Link bug to the User Story**

**Impact of this bug**
This impacts all users - users can still download the attachments, but not being able to view will make extra work for users when they just want to see what was provided.

**Chance of Occurring (high/medium/low/very low)**
High - seems to occur on any word document file

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

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to any request
2. Go to attachments and upload a word document
3. Click on link, or attempt to view attachment through the ellipsis
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.