Project

General

Profile

Actions

Feature #31472

open

Add file upload when editing documents

Added by Aleksandar Pavic almost 5 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Documents
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

On documents module, add/edit/remove attachments is missing when document is edited...


Files

change_editing_document.png (152 KB) change_editing_document.png Yuichi HARADA, 2019-12-18 02:19
31472-add-file-upload.patch (6.49 KB) 31472-add-file-upload.patch Yuichi HARADA, 2019-12-18 02:21
31472-add-file-upload-v2.patch (6.57 KB) 31472-add-file-upload-v2.patch Yuichi HARADA, 2021-03-12 06:41
31472-add-file-upload-v3.patch (6.6 KB) 31472-add-file-upload-v3.patch Yuichi HARADA, 2021-03-12 08:26
Actions #1

Updated by Yuichi HARADA over 4 years ago

This patch adds features similar to #16410 to the documents.
When editing a document, you can operate (add and bulk delete) the attachments.

Actions #2

Updated by Mischa The Evil over 4 years ago

  • Target version set to Unplanned backlogs

Sweet! Thanks for sharing the patch. Scheduled without substantive patch review.

NB: I think it would be nice to introduce this functionality similarly for the remaining attachment containers (news and messages) too.

Actions #3

Updated by Yuichi HARADA over 3 years ago

Mischa The Evil wrote:

NB: I think it would be nice to introduce this functionality similarly for the remaining attachment containers (news and messages) too.

Thank you for your suggestions. I would be happy if you could create new issues.

Actions #4

Updated by Yuichi HARADA about 3 years ago

Yuichi HARADA wrote:

This patch adds features similar to #16410 to the documents.
When editing a document, you can operate (add and bulk delete) the attachments.

When performing bulk delete, the Attachment's after_commit callback method Attachment#delete_from_disk was not executed.
I fixed a patch.

Actions #5

Updated by Yuichi HARADA about 3 years ago

Yuichi HARADA wrote:

Yuichi HARADA wrote:

This patch adds features similar to #16410 to the documents.
When editing a document, you can operate (add and bulk delete) the attachments.

When performing bulk delete, the Attachment's after_commit callback method Attachment#delete_from_disk was not executed.
I fixed a patch.

I have improved Document#delete_selected_attachments.

Actions

Also available in: Atom PDF