nextcloud / nextcloud/mail

[BUG] Wrong attachment size with emails in outbox

Open
#10,515 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug feature: outbox
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Write an email
  2. Add an attachment
  3. Set up Send later for this email
  4. Send it
  5. Go to the outbox
  6. Open the email
  7. See attachment size as NaN undefined
Screenshots

Image

Image

Image

Image

Expected behavior

Seeing the correct attachment size.

Actual behavior

Size is reported as NaN undefined.

Mail app version

4.0.10

Nextcloud version

30.0.4

Mailserver or service

Self-hosted SMTP server (docker-mailserver)

Operating system

Nextcloud AIO on arm64

PHP engine version

PHP 8.3

Nextcloud memory caching

'memcache.distributed' => '\OC\Memcache\Redis',

Web server

Apache (supported)

Database

PostgreSQL

Additional info

No response

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

Reproduce the issue by scheduling an email with an attachment, sending it, and opening it from the outbox. Trace how the outbox view obtains and formats attachment size, then verify that the displayed value is a numeric size with its unit rather than NaN undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.