Wrong document saved to files when in a thread
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Have a thread with multiple mails with attachments
- Select an intermediate email
- Select its attachment and select "Save to Files"
Expected behavior
The document is saved in the Files app container of NC
Actual behavior
A binary object (embedded image, not even an attachment), is stored instead.
Mail app version
2.2.2
Mailserver or service
GMX
Operating system
docker image, NC 25.0.2
PHP engine version
None
Web server
None
Database
None
Additional info
Confirmed with:
- 1 thread of 3 mails.Trying to save the xlsx file in the 2nd email resulted in having the embedded image of the 3rd mail
- 1 thread of 17 mails. Trying to save any attachment from any but last mail resulted in having an empty Embedded message 2.eml instead. (Last mail is plain html without images or attachments)
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 this with a thread containing multiple mails and attachments on the Docker-based Nextcloud 25.0.2 setup, using the reported GMX configuration. Compare the selected intermediate message's attachment with the object saved to the Files app container; done means Save to Files stores the selected document rather than an embedded image or empty message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100