Project

General

Profile

Actions

Bug #18668

closed

File download from upload FE (filepond) not possible with formModeGlobal=readonly

Added by Jan Haller about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
High
Assignee:
Jan Haller
Target version:
Start date:
24.05.2024
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Version 24.1.0.rc1:
If a form is opened with "formModeGlobal=readonly", it is impossible to download a previously uploaded file (FE upload, filepond). On the other hand, if the FE has mode "readonly" the download is possible.

Version develop:
No download button is shown.


Files

Actions #1

Updated by Jan Haller about 2 months ago

  • Description updated (diff)
Actions #3

Updated by Jan Haller about 2 months ago

Actions #4

Updated by Jan Haller about 2 months ago

  • Status changed from New to In Progress
  • Assignee set to Jan Haller
Actions #5

Updated by Jan Haller about 2 months ago

Cause for problem on develop:
Filepond wants to access the save button of the form which is not rendered with formModeGlobal=readony. This problem is solved by checking if the save button exists.

Cause for problem on 24.1.0.rc1 (#18670):
The problem occurs because the upload FE is inside a fieldset FE. formModeGlobal=readonly sets the fieldset to disabled which prevents <button> from registering click events. This problem is solved by setting the attribute readonly="readonly" for FE type=fieldset instead of disabled="disabled".

Actions #6

Updated by Carsten Rose about 2 months ago

  • Target version changed from next2 to 24.5.1
Actions #7

Updated by Carsten Rose about 2 months ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF