Feature #30776
closedDrag and drop file upload to file type custom field
Added by VD DV almost 6 years ago. Updated almost 4 years ago.
0%
Description
Drag and drop file to "file custom field" is not behaving as expected. File is attached as regular file insted to Custom field.
Demonstration is attached at "file_dragNdrop.gif".
Files
file_dragNdrop.gif (436 KB) file_dragNdrop.gif | Defect demonstration | VD DV, 2019-02-08 10:49 | |
appearance-of-patch-applied.gif (559 KB) appearance-of-patch-applied.gif | Mizuki ISHIKAWA, 2020-09-28 06:31 | ||
fix-30776.diff (4.08 KB) fix-30776.diff | Mizuki ISHIKAWA, 2020-09-28 06:36 |
Updated by Go MAEDA over 5 years ago
- Category changed from UI to Custom fields
- Status changed from New to Confirmed
Updated by Mizuki ISHIKAWA about 4 years ago
- File appearance-of-patch-applied.gif appearance-of-patch-applied.gif added
- File fix-30776.diff fix-30776.diff added
I have attached a patch to fix this issue.
Updated by Go MAEDA about 4 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA almost 4 years ago
- Target version changed from Candidate for next major release to 4.2.0
Setting the target version to 4.2.0.
Updated by Go MAEDA almost 4 years ago
- Tracker changed from Defect to Feature
- Subject changed from Drag and drop file to "file custom field" is not behaving as expected to Drag and drop file upload to file type custom field
- Status changed from Confirmed to New
Updated by Go MAEDA almost 4 years ago
Mizuki ISHIKAWA wrote:
I have attached a patch to fix this issue.
Thank you for posting the patch but I found a strange behavior when trying to upload files.
An error message :error_attachments_too_many
is displayed when you attempt to drop two or more files. It is OK. However, you will see a dialog box with the message (n - 1) times. For example, if you drop 10 files to a file type custom field, you have to click the "OK" button 9 times to close dialog boxes.
Updated by Mizuki ISHIKAWA almost 4 years ago
Go MAEDA wrote:
Mizuki ISHIKAWA wrote:
I have attached a patch to fix this issue.
Thank you for posting the patch but I found a strange behavior when trying to upload files.
An error message
:error_attachments_too_many
is displayed when you attempt to drop two or more files. It is OK. However, you will see a dialog box with the message (n - 1) times. For example, if you drop 10 files to a file type custom field, you have to click the "OK" button 9 times to close dialog boxes.
This is a problem that occurs not only with custom fields, but also with regular file attachments.(If you attach 20 files at the same time, you need to delete the alert 10 times.)
Probably another issue related to #18555.
Updated by Mizuki ISHIKAWA almost 4 years ago
Go MAEDA wrote:
Mizuki ISHIKAWA wrote:
I have attached a patch to fix this issue.
Thank you for posting the patch but I found a strange behavior when trying to upload files.
An error message
:error_attachments_too_many
is displayed when you attempt to drop two or more files. It is OK. However, you will see a dialog box with the message (n - 1) times. For example, if you drop 10 files to a file type custom field, you have to click the "OK" button 9 times to close dialog boxes.
I have attached a patch for this issue. https://www.redmine.org/issues/18555#note-10
Updated by Go MAEDA almost 4 years ago
Go MAEDA wrote:
Mizuki ISHIKAWA wrote:
I have attached a patch to fix this issue.
Thank you for posting the patch but I found a strange behavior when trying to upload files.
An error message
:error_attachments_too_many
is displayed when you attempt to drop two or more files. It is OK. However, you will see a dialog box with the message (n - 1) times. For example, if you drop 10 files to a file type custom field, you have to click the "OK" button 9 times to close dialog boxes.
Fixed in r20711.
Updated by Go MAEDA almost 4 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you for your contribution.