プロジェクト

全般

プロフィール

Vote #80101

未完了

Add file upload when editing documents

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Documents_4
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
4
version_id:
23
issue_org_id:
31472
author_id:
5107
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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


journals

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

!{width:600px;border:1px solid #ccc;}change_editing_document.png!
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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@.

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリDocuments_4 にセット
  • 対象バージョンUnplanned backlogs_23 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0