[BUG] Wrong attachment size with emails in outbox
Open
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
- Write an email
- Add an attachment
- Set up
Send laterfor this email - Send it
- Go to the outbox
- Open the email
- See attachment size as
NaN undefined
Screenshots
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
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
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