openlibhums / openlibhums/janeway
Preprints: Attachments don't attach to emails (eg to Preprint Owner)
@ajrbyers is already working on this.
Since Aug 14, 2024.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Describe the bug
When using the "Contact Owner" field to email the submitting author of a Repository Item, attachments don't actually attach
Janeway version
Version: 1.5.6
To Reproduce
Steps to reproduce the behavior:
- Go to Repository Manager and open the manager view of a Repository Item
- Click "Contact Owner" to contact the submitting author for the item
- Fill the form with required details, then attach an item. CC yourself so you can receive the email
- Open the email and note the lack of attachment
- View the log and note the lack of information regarding the attachment
Expected behavior
The attached file would be attached to the email
A record of the file would be noted in the email log. e.g. Attachment: file.pdf
bonus: the attachment would be stored in Janeway log
Screenshots
Note: Attachments properly attach in the email for accepting/rejecting preprints. However, record of the attachment is not recorded in the email log, nor is a copy of the attachment stored.
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.
Assessment
This issue has not been assessed yet.