Project

General

Profile

Actions

Defect #44556

closed

No error is shown when pasting an image after the limit of attachments at once is reached

Added by Go MAEDA 23 days ago. Updated 22 days ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Resolution:
Fixed
Affected version:

Description

When the number of attachments in the attachment form has already reached the limit, pasting another image into a text area with Ctrl+V fails silently. The image is not attached, and no error message is shown.

Adding files with the file input or by drag and drop in the same situation shows the error "This file cannot be uploaded because it exceeds the maximum number of files that can be attached simultaneously (10)". Pasting should behave the same way.

The attached patch fixes this.


Files

0001-Show-an-error-when-pasting-an-image-exceeds-the-limi.patch (3.02 KB) 0001-Show-an-error-when-pasting-an-image-exceeds-the-limi.patch patch for trunk Go MAEDA, 2026-09-29 07:58
7.0-stable.patch (2.22 KB) 7.0-stable.patch patch for 7.0-stable and 6.1-stable Go MAEDA, 2026-09-29 08:00

Related issues

Related to Redmine - Feature #18555: Show warning when attempting to attach more than the allowed number of attachmentsClosedGo MAEDAActions
Actions #1

Updated by Go MAEDA 22 days ago

  • Related to Feature #18555: Show warning when attempting to attach more than the allowed number of attachments added
Actions #2

Updated by Go MAEDA 22 days ago

  • Target version changed from Candidate for next minor release to 6.1.5
  • Affected version set to 4.2.0

Setting the target version to 6.1.5.

Actions #3

Updated by Marius BĂLTEANU 22 days ago

  • Status changed from New to Closed
  • Assignee set to Marius BĂLTEANU
  • Resolution set to Fixed

Patch committed, thanks!

Actions

Also available in: Atom PDF