nextcloud / nextcloud/activity
Links remains after file is deleted
Open
Nobody has claimed this yet.
0. Needs triage
bug
- Dominant language
- JavaScript
- Stars
- 145
- Forks
- 72
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 42
Description
See the image below that describes the issue pretty well:

- RED arrows links produces error 500
- BLUE arrows links produces "soft" 404 (links to empty folder).
I believe that if a file is deleted, all links to that file should be disabled.
Contributor 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.
Research direction
No files, tests, or entry points are named; begin with the linked issue image and reproduce both link behaviors after deleting a file. Done means links to deleted files are disabled and no longer produce a 500 error or a soft 404 to an empty folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100