Bug #75617
closedInline FAL wrong File Metadata after expanding
0%
Description
Hello
I'm using FAL field configured via flexform (inline fal).
When I create new record everything is ok, then I save record.
Later when I reopen record and expand fal image (see screenshot) I can see only 2 file metadata fields (alternative text and crop missing)
When I save record with expanded Fal field and then open this record I can see all File Metadata fields
configuration of fal field:
<config> <type>inline</type> <foreign_table>sys_file_reference</foreign_table> <foreign_field>uid_foreign</foreign_field> <foreign_sortby>sorting_foreign</foreign_sortby> <foreign_table_field>tablenames</foreign_table_field> <foreign_match_fields> <fieldname>image</fieldname> <!-- CAUTION!! Replace "fal" with the variable name of this field! --> </foreign_match_fields> <foreign_label>uid_local</foreign_label> <foreign_selector>uid_local</foreign_selector> <foreign_selector_fieldTcaOverride> <config> <appearance> <elementBrowserType>file</elementBrowserType> <elementBrowserAllowed>gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai</elementBrowserAllowed> </appearance> </config> </foreign_selector_fieldTcaOverride> <foreign_types type="array"> <numIndex index="2"> <showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem> </numIndex> </foreign_types> <minitems>1</minitems> <maxitems>1</maxitems> <appearance> <useSortable>1</useSortable> <headerThumbnail> <field>uid_local</field> <width>45c</width> <height>45</height> </headerThumbnail> <showPossibleLocalizationRecords>0</showPossibleLocalizationRecords> <showRemovedLocalizationRecords>0</showRemovedLocalizationRecords> <showSynchronizationLink>0</showSynchronizationLink> <useSortable>1</useSortable> <enabledControls> <info>1</info> <new>0</new> <dragdrop>0</dragdrop> <sort>1</sort> <hide>1</hide> <delete>1</delete> <localize>1</localize> </enabledControls> <createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle> </appearance> <behaviour> <localizationMode>select</localizationMode> <localizeChildrenAtParentLocalization>1</localizeChildrenAtParentLocalization> </behaviour> </config>
typo3 v 7.6.5
Files
Updated by ondro no-lastname-given over 8 years ago
Also I have aplied this patch
[[https://forge.typo3.org/attachments/download/30629/FormInlineAjaxController.php.patch]]
Due to this bug [[https://forge.typo3.org/issues/71436]]
Updated by Morton Jonuschat over 8 years ago
- Category changed from File Abstraction Layer (FAL) to FormEngine aka TCEforms
- Status changed from New to Rejected
- Target version deleted (
7.6.5)
Hi!
On an unpatched TYPO3 7.6.7 the reported behavior does not happen (verified using EXT:styleguide and multiple Flexform configurations). As soon as I add the patch you linked the bug reported in this issue manifests. A cursory look at the patch seems it replaces vital configuration information with an incomplete / unprepared configuration array.
As the bug is caused by a 3rd-Party patch / modified TYPO3 core I'm rejecting this issue.