Project

General

Profile

Actions

Defect #44556

open

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

Added by Go MAEDA 1 day ago. Updated about 17 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
Resolution:
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

Also available in: Atom PDF