Project

General

Profile

Actions

Bug #50877

closed

File not saved in link field after being uploaded in link selector

Added by Nicola Heisch over 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2013-08-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Situation:

Userrights: All (Admin)
Browsers: All
TCEforms with following field configuration:
'media' => array(
'exclude' => 1,
'label' => 'Media',
'config' => array(
'type' => 'input',
'size' => '48',
'max' => '255',
'checkbox' => '',
'eval' => 'trim',
'wizards' => array(
'_PADDING' => 2,
'link' => array(
'params' => array(
'blindLinkOptions' => 'mail,spec,folder,page',
'allowedExtensions' => 'jpg,jpeg,gif,png'
),
'type' => 'popup',
'title' => 'Link',
'icon' => 'link_popup.gif',
'script' => 'browse_links.php?mode=wizard',
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
)
)
)
),

Steps to reproduce this Bug:

  1. Click on link symbol next to text field
  2. Select the folder you want to upload your file to
  3. Upload a new file
  4. After the upload completed successfully select the new file
  5. After the wizard popup closed and you see the link to the uploaded file, save the record.
  6. After the record was saved, the input field is empty

It seems to be a JavaScript problem. After selecting the newly uploaded file, the Path to the file is inserted into the visible input field but not the hidden field which will actually be saved.

Actions

Also available in: Atom PDF