Project

General

Profile

Actions

Feature #21106

open

Ability to add attachments (print screens) via notes edit.

Added by Arnis Juraga over 10 years ago. Updated 18 days ago.

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

0%

Estimated time:
Resolution:

Description

Redmine does not have ability to add file attachments via 'notes edit'.

If I edit the issue, save it, and forgot to add attachment, I cannot edit issue and add it later.

The main reason for it in my case - We can add print screens to Issues, and there are no problem with issue edit. But when I edit notes - I cannot add print screen, as they request new file attachment to be added to issue itself.

Edit issue only for this, is way an overhead.


Files

note_edit_with_attachment.patch (5.61 KB) note_edit_with_attachment.patch Robert Nönnig, 2026-01-11 23:31
clipboard-202601112337-lwtxx.png (13.7 KB) clipboard-202601112337-lwtxx.png Robert Nönnig, 2026-01-11 23:37
clipboard-202601112338-wchrh.png (40.2 KB) clipboard-202601112338-wchrh.png Robert Nönnig, 2026-01-11 23:38
clipboard-202601112343-vkt2g.png (62.1 KB) clipboard-202601112343-vkt2g.png Robert Nönnig, 2026-01-11 23:43
clipboard-202601112344-jzwet.png (17.7 KB) clipboard-202601112344-jzwet.png Robert Nönnig, 2026-01-11 23:44
clipboard-202601112347-xdmkj.png (83.1 KB) clipboard-202601112347-xdmkj.png Robert Nönnig, 2026-01-11 23:47
clipboard-202601112348-oba7i.png (104 KB) clipboard-202601112348-oba7i.png Robert Nönnig, 2026-01-11 23:48

Related issues

Has duplicate Redmine - Feature #42518: Cannot paste a screenshot from clipboard when edit an existing comment in issues trackerClosed

Actions
Actions #1

Updated by Jean-Philippe Lang about 10 years ago

  • Tracker changed from Defect to Feature
Actions #2

Updated by Marius BĂLTEANU 10 months ago

  • Related to Feature #42518: Cannot paste a screenshot from clipboard when edit an existing comment in issues tracker added
Actions #3

Updated by Robert Nönnig 18 days ago

With this patch when editing a note new attachments can be added the same way as with editing issues:

Existing note on issue page:

Same note while editing it:

After pasting an image from the clipboard:

After saving the note:

When saving the note/journal the issue is automatically updated with the attachments, but the issue page isn't immediately reflecting that, here you see the saved note with the image (showing black text "test" on white background), but the issue doesn't show any attachments yet:

Only after a manual browser refresh the issue shows the new attachment(s):

There are some skipped tests in "rake test", but no failures:

...
Bazaar test repository NOT FOUND. Skipping unit tests !!!
CVS test repository NOT FOUND. Skipping unit tests !!!
Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS.
Git test repository NOT FOUND. Skipping unit tests !!!
Git UTF-8 test repository NOT FOUND. Skipping unit tests !!!
Mercurial test repository NOT FOUND. Skipping unit tests !!!
Subversion test repository NOT FOUND. Skipping unit tests !!!
Skipping LDAP tests.
...
Finished in 385.833217s, 14.3067 runs/s, 76.1961 assertions/s.
5520 runs, 29399 assertions, 0 failures, 0 errors, 14 skips

You have skipped tests. Run with --verbose for details.

A new test "test_update_with_attachments" was added to the journals_controller_test.rb

Actions #4

Updated by Marius BĂLTEANU 17 days ago

  • Related to deleted (Feature #42518: Cannot paste a screenshot from clipboard when edit an existing comment in issues tracker)
Actions #5

Updated by Marius BĂLTEANU 17 days ago

  • Has duplicate Feature #42518: Cannot paste a screenshot from clipboard when edit an existing comment in issues tracker added
Actions

Also available in: Atom PDF