Bug #97209
closed
Problem when try to upload picture into IRRE element
Added by taieb rekik over 2 years ago.
Updated about 2 years ago.
Category:
Backend User Interface
Tags:
backend,media,sys_file
Description
Problem description:
Currently I have a problem when I try to upload pictures with a custom content element IRRE, the problem that I was got it is, when I upload pictures the first item I need to save full content else I'm cannot upload for the next item, looks like problem of event are not triggered or something like that.
To Reproduce my problem:
You need to have a custom content element IRRE with pictures, and just try to upload picture for first item, and next try to upload for second item without saving the full-content,
Later save the content and upload the second item and it will work.
Screenshot¶
![](/attachments/download/36792/problem_upload_backend.png)
Files
- Status changed from New to Needs Feedback
Can you share the the TCA configuration for both image fields please?
In case you're using helper function getFileFieldTCAConfig
- make sure to pass along the corresponding name of the field, e.g.
'columns' => [
...
'first_field' => [
'label' => ...,
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('first_field', [ ... ]),
],
'second_field' => [
'label' => ...,
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('second_field, [ ... ]),
],
...
],
Internally this uses the specific value for foreign_match_fields
- which is used to separate those two fields referencing from the same database table (see https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Inline/Properties/ForeignMatchFields.html for details).
- Status changed from Needs Feedback to Closed
- Sprint Focus deleted (
Stabilization Sprint)
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
Also available in: Atom
PDF