Files are stored without an extension
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- backend
Research direction
Reproduce the NGO statute upload and download flow described in the issue, then trace where the downloaded filename is changed and the extension is lost. Confirm the fix by downloading PDF and DOCX files and verifying that each keeps its extension while the filename is otherwise changed.
Written by the indexing model from the issue text.
Description
Related to #535
Describe the bug
When an NGO uploads something like their statute, they upload a PDF/docx file.
When trying to then download the file, that file is downloaded without an extension and we often have issues figuring out what kind of file it is.
Steps to reproduce the behavior
- Register an NGO and upload a file
- Go to the page of that NGO
- Download the statute (it's a mandatory file)
- The file name was changed and the extension was lost in the process
Expected behavior
4. The file has a different name but the extension is still kept there
Screenshots
Files downloaded from NGO Hub with no way of telling what kind of file it is:
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from code4romania/onghub
-
bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
code4romania/onghub#536 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
code4romania/onghub#648 ·
-
502 Bad Gateway Error When Downloading Table from 'ONG-uri' PageMay be free again @radulescuandrew claimed this 774 days ago, and no pull request is open. Openbug :bug: ready-for-deploy
code4romania/onghub#635 · 1 comment · 1 reaction · 1 assignee ·
-
bug :bug:
Difficulty 3/5 1-2 days Newbie friendliness 35/100
code4romania/onghub#631 ·
-
bug :bug:
Difficulty 3/5 1-2 days Newbie friendliness 42/100
code4romania/onghub#630 ·
All issues in code4romania/onghub
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 90/100
lingdojo/kana-dojo#32663 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Admin: Title Separator field can't be cleared (input falls back to "|")Possibly taken @emdashbot claimed this today. Openbot:bug bot:in-review
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
emdash-cms/emdash#4236 · 3 comments ·
Maintainers usually reply within 1 day
-
PHP workflow streaming requests buffer the full SSE responsePossibly taken @Winoren claimed this today. Openreview: medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
langgenius/dify#44270 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
area:holodeck review-finding
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hyperdrive-technology/holodeck#142 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
code-yeongyu/senpi#3573 ·
Maintainers usually reply within 1 day