Bug #47414
closedMissing filename on TCA type="group" internal_type="file_reference"
100%
Description
Hi,
I tried to use a single line TCA-Element from type="group" and internal_type="file_reference" for a backend form to select/upload videos.
Everything works like expected as long as I'm using internal_type="file", but with "file_reference", after saving the dataset, the selectbox doesn't show the filename anymore. So I had a look in the DOM and there, in the <option value="<path_to_my_file>" ></option> is the value for the file_reference but the filename between the <option></option> is missing... Therefore the user can't see if file is already selected or not.
I have attached a sreenshot.
My TCA config:
_ 'mp4_file' => array(
'exclude' => 0,
'label' => 'LLL:EXT:kss_client/Resources/Private/Language/locallang_db.xlf:tx_kssclient_domain_model_video.mp4_file',
'config' => array(
'type' => 'group',
'internal_type' => 'file_reference',
'uploadfolder' => 'fileadmin/user_upload/videos',
'allowed' => 'mp4,mov',
'size' => 1,
'maxitems' => 1,
'minitems' => 0,
),
),_
Files
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21690
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21690
Updated by Alexander Kappler about 11 years ago
I tried your patch. Looks good for me.
Thank you!
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21690
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23058
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23058
Updated by Philipp Gampe almost 11 years ago
Updated by Philipp Gampe almost 11 years ago
Works for me... or do I need to do something special?
Updated by Martin Borer almost 11 years ago
Hi Philipp,
That's exactly what it should look like! Hmm it's interessting, i have still no filenames in selector (tested with 6.1).
What's your Testing Environment? I've tested it under Windows and Mac.
Updated by Gerrit Code Review almost 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23058
Updated by Gerrit Code Review almost 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23058
Updated by Martin Borer almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f873d1d4045f03434f059cbb462811d915b3e704.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23681
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/23682
Updated by Gerrit Code Review almost 11 years ago
Patch set 2 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23681
Updated by Gerrit Code Review almost 11 years ago
Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/23682
Updated by Ernesto Baschny almost 11 years ago
- Category set to File Abstraction Layer (FAL)
- Is Regression set to No
Updated by Martin Borer almost 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 041869b77bc937d3923b78e72d7f41058ed7c167.
Updated by Benni Mack almost 6 years ago
- Status changed from Resolved to Closed