nextcloud / nextcloud/collectives

Failed to load Attachment with "German" Umlauts

Open
#2,327 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: attachments
Dominant language
JavaScript
Stars
195
Forks
51
Avg merge
1d 2h
Merged PRs (30d)
48

Description

Describe the bug
Uploading files containing German umlauts (ä,ö,ü,ÄÖÜ) results in a 'Failed to load attachment' message.
The file is correctly uploaded to Nextcloud and can be downloaded by accessing the file URL in a browser.
This bug may not affect pictures.

To Reproduce
Steps to reproduce the behavior:
Create a page in a collective and upload or attach a file containing a German umlaut.

Expected behavior
The attachment should be displayed as a regular attachment.

Screenshots
Image

Server details:

  • Collectives app version: 4.0.0
  • Nextcloud version: 32.0.6
  • PHP Version: 8.2
  • Database: MariaDB 10.11

Client details:

  • OS: macOS
  • Browser: Chrome
  • Browser version: 145.0.7632.160
  • Device: MacBook

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a Collective with an attachment whose filename contains German umlauts, then compare the app's loading behavior with the direct Nextcloud file URL. Trace the attachment-loading entry point to identify where the filename handling fails. Done means the uploaded file is displayed as a regular attachment, including non-picture files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.